I am writing a program to calculate averages. Everything works perfectly, except when the program tries to calculate the average. It seems like my input isnt being stored, therefore it calculates 0.0 as the averages. I am using Python IDLE on 3.6. Here is my code:

def main():

```
#variables holding the total number of wins per year

year1 = 0
year2 = 0
year3 = 0
year4 = 0
year5 = 0
average = year1 + year2 + year3 + year4 + year5/5

#Introduction

print ("Enter number of wins when prompted")

#Ask user for win totals per year

year1 = (input("Please enter the number of wins for year one: "))
year2 = (input("Please enter the number of wins for year one: "))
year3 = (input("Please enter the number of wins for year one: "))
year4 = (input("Please enter the number of wins for year one: "))
year5 = (input("Please enter the number of wins for year one: "))

#calculate average

print ("Total average of wins over five years: ", average)

```

Here is the result after entering my values:

Enter number of wins when prompted

Please enter the number of wins for year one: 8

Please enter the number of wins for year one: 6

Please enter the number of wins for year one: 3

Please enter the number of wins for year one: 7

Please enter the number of wins for year one: 9

Total average of wins over five years: 0.0