Python Lesson 10: Math


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-python/lessons/python-syntax/exercises/math?action=lesson_resume
<In what way does your code behave incorrectly? Include ALL error messages.>

File “python”, line 5
print count_to = 100 + 384
^
SyntaxError: invalid syntax

<What do you expect to happen instead?>

```python

print count_to = 100 + 384

IT SAYS “Set count_to equal to the sum of two big numbers”…100 and 384 ARE BIG NUMBERS? WHAT? Maybe I’m thinking about it too hard.

<do not remove the three backticks above>

#2

you can’t assign values to a variable and print on the same line

first you need to declare the variable, and then on the next line print the variable


#3

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