I am trying to write a python program that asks the user how many years they want to insert and then let them insert a temperature for every month of that year so it looks like this:

---

How many years in total? e.g. 3

Which is the first year? e.g 2015

Month 1: 25 

Month 2: 21 

and so on...

---

for as many years as the user wants to see. This is what I have so far:

```
years = int(input("How many years?: "))

i= 0

while i <= years:
    for i in range(0,13):
            input("Type in first year")
            input("Month 1:  ")
            input("Month 2:  ")
            input("Month 3:  ")
            input("Month 4:  ")
            input("Month 5:  ")
            input("Month 6:  ")
            input("Month 7:  ")
            input("Month 8:  ")
            input("Month 9:  ")
            input("Month 10: ")
            input("Month 11: ")
            input("Month 12: ")

```

and this sort of works but is there a neater way to make the month number be +1 automatically and ask for input 12 times? And secondly, when I have done the whole first year it still asks me "Which is the first year" after I have typed in the temperatures for the 12 months but I want it to ask for the second, third etc. Like: "Which is the second year?")

I have tried to do it like this instead:

---

```
years = int(input("How many years?: "))

i= 0

monthnumber = 1 

while i <= years:

    for i in range(0,13):
            input("Which is the first year?: ")
            input("Month",monthnumber,": ")
            monthnumber += 1

```

---

Here I get the error message that input expected at most 1 argument, got 3

Thanks in advance :)