Https://www.codecademy.com/courses/learn-python/lessons/python-syntax/exercises/math?action=lesson_resume


#1

https://www.codecademy.com/courses/learn-python/lessons/python-syntax/exercises/math?action=lesson_resume

How do i set the count_to variable to equal the sum of two big numbers? I tried setting it equal to 72 + 23 and equal to addition = 72 + 23, but it does not work.


#2

equal to addition = 72 + 23

what is equal to addition ?It looks like you created a variable named equal to addition.
so you was getting an error in the console.

Error: invalid syntax

because you can’t have any spaces in variable name.

now question is what does the instruction want from you?

The instruction wants you to set a variable named count_to. So the name of the variable should be count_to not anything else.


#3

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