I am trying to get my input look like this, but i dont know how should i format it:
Enter the rainfall for January: 1
Enter the rainfall for February: 2
Enter the rainfall for March: 3
This is the inputt i get:
Enter the rainfall for January: 1
Enter the rainfall for February: 2
Enter the rainfall for March: 3
Here is my code:
def main():
months=("January","February","March","April","May","June","July","August","September","October","November","December")
values=[0]*12
for n in range(len(values)):
print("Enter the rainfall for", (months[n]), end=": ")
values[n]=float(input())
main()