3. While your at it


#1

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

I’m not sure what to do if anyone can help point me in the right direction, I’ll greatly appreciate it :smiley:

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-python/lessons/loops/exercises/while-youre-at-it?action=lesson_resume

```python

num = 1 to 10

while num <= 10 :
print num ** 2

<do not remove the three backticks above>

#2

get rid of: to 10 so it’s just num = 1
then you need to increment num by 1 inside the while loop


#3

Umm, could you please tell me how to increment.

num = 1

while num <= 10 :
print num ** 2
num =+ 1

This is what I think increment is…:neutral_face:


#4

That’s close, you just need to change it from num =+ 1 to num += 1


#5

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