Ok, so I understand how to get through this lesson, however I do not understand what the purpose is for the = operater in the string num += 1
Why shouldn't num + 1 work?
Update: ok so what I don't understand is how the += operand works. Can anyone Eli5?
Also, I feel like calling num += 1 a "string" is incorrect, num is a variable but i don't know the correct terminology for num +=1
pls halp, thanks.
num = 0 while num <= 10: # Fill in the condition num +=1 print num ** 2 # Print num squared # Increment num (make sure to do this!)