What's Wrong with this Code?


#1

I am currently stuck on this mission I have the following code :

january_to_august_rainfall= 7 + 6 + 12 + 3.5 + 7.8 + 6.7 + 9 + 2
annual_rainfall = january_to_august_rainfall

september_rainfall = 15
annual_rainfall += september_rainfall

october_rainfall = 9
annual_rainfall += october_rainfall

november_rainfall = 5.3
annual_rainfall += november_rainfall

december_rainfall = 3.7
annual_rainfall += december_rainfall

It says "Did you add all of the remaining months to the variable annual_rainfall?
I am sure that I added all of the months.
Did I do something wrong?


How does Python reassign a variable's value?
#2

Hi @ajaxblaster59079,

You have the wrong quantities of rain. Reset the exercise, then use those rainfall amounts in your code, and you should get passed.