Math


#1

I’m getting an error message on #10 but I don’t understand what it’s trying to get me to do. Can someone please help me?

Set count_to equal to the sum of two big numbers

print count_to
Traceback (most recent call last):
File “python”, line 2, in
NameError: name ‘count_to’ is not defined


#2

make sure you didn’t misspelled count_to. The name of the variable should be exact same what the instruction wants.


#3

Hi @lsrice,

Did you create an assignment statement in order to define a variable named count_to? The exercise provides examples of assignment statements that define four different variables, including the following one that sets the variable addition equal to the sum of two numbers …

addition = 72 + 23

Now you need to write a similar assignment statement that sets a variable count_to equal to the sum of two numbers. It asks for two big numbers, but they do not need to be very big for you to pass the exercise. Make sure that your assignment statement precedes the print statement, and, as @rcodeman mentioned, that you spell count_to correctly in that statement.


#4

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