You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': n = int(input()) i = 0 if 1<=n<=20: while i<n: print(i**2) i=i+1 else: print("Please give numbers between 1 and 20")
Seems like cookies are disabled on this browser, please enable them to open this website
Loops
You are viewing a single comment's thread. Return to all comments →