The program below is supposed to print the squares of all numbers from 1 to 20 (inclusive), but there are some mistakes. Find and fix them.
Square up
Report a typo
Write a program in Python 3
i = 1
num = 20
while i > num:
print(i)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.