Syntax error


#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.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python

count = 0

while count < 10:
print count += 1

Hey guys,

The code looks correct to me, however, I get the following error
Syntax Error: invalid syntax

What is wrong with the syntax here?

Thank you!
<do not remove the three backticks above>

#2

Print will only work with variables that can be converted to string with the str() function (which happens automatically when you call print).

You need to move your count += 1 onto a separate line.