What Am I Supposed To do Here, Other Than Use the += Operator?

Why isn’t there a place where I’m supposed to see the final solution in the terminus?

Even when I follow instruction - nothing shows up. I don’t understand how I’ve grasped a concept.

"january_to_june_rainfall = 1.93 + 0.71 + 3.53 + 3.41 + 3.69 + 4.50
annual_rainfall = january_to_june_rainfall

july_rainfall = 1.05
annual_rainfall += july_rainfall

august_rainfall = 4.91
annual_rainfall += august_rainfall

september_rainfall = 5.16
october_rainfall = 7.20
november_rainfall = 5.06
december_rainfall = 4.06"

What am I supposed to do here, other than use the operator? Nothing shows up when I run the code

Hi @rubysolver87286,

You need to add each month to annual_rainfall. The exercise already filled in July and August, so now you just need to copy that for September through December.

Do I have to use “print” in order to either assign variables or see that my new month (month_rainfall=x") is being added?

All print does is display some output, so it’s not necessary for updating a variable, but it is necessary if you want to see some output like what a variable’s value is.

What does this error mean, and how do I fix it?

" File “script.py”, line 1
SyntaxError: can’t assign to operator"

For the Arimathic exercise

You’ve got the sides switched, you need to put the variable (remainder) at the beginning, then whatever value you want it to have.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.