Squares/squares.py

8 lines
91 B
Python

len =input()
x =0
len= int(len)
len = len+1
while x < len:
p=x*x
print(p)
x=x+1