Can't we just Add the Last Four Months All Together?


#1

for the last 4 months can’t we just do:

annual_rainfall+= september_rainfall + october_rainfall + november_rainfall + december_rainfall
print annual_rainfall


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

Hi @mo.elgazz,

You’re correct, that will have the same net effect in the end.