Hello, I am a bit confuded and do not really understand this exercise. I didn't manage to pass the exercise just with the 'while' loop so I created a for loop inside of it and it tells me that the exercise if correct but if i change the range of my for loop to 20 for example, it's gonna print all the squared number from 1 to 20 without taking care of the limit set by the while loop. Could somebody please show me the correct code and help me to understand how it really works? Thanks!
num = 1 while num<11: # Fill in the condition # Print num squared # Increment num (make sure to do this!) for num in range (1,20): print num**2 num+=1