Python synthax - Math (Help!)


So I am stuck on the problem where they are asking to "Set the variable count_to equal to the sum of two big numbers."

The error shows this:
File "python", line 5
print count_to = 1000 + 2939230948
SyntaxError: invalid syntax

I expected to have the window display the sum but only the error shows up. I am not sure why this is happening.

my code:

# Set count_to equal to the sum of two big numbers

print count_to = 1000 + 2939230948

note - i even did this on line 6 where i made count_to = 1000 + 2939230948 and the same error occurred.


you can't assign a value to a variable and print it on the same line. You first need to set the variable, then next line you can print it


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