I tried solve the problem with the coding below. However, it didn’t give me right answers. I got (2 4 and 25) as answer.
Can you guys explain me why do i need to set : print num**2, instead of what i did.
num = 1 while num <=10: num = num**2 print num num += 1