csc-python-solutions/07/c/3 - Square Census.py

6 lines
62 B
Python
Raw Normal View History

2021-02-18 18:05:22 +00:00
n=int(input())
c = 1
while c**2 < n:
print(c**2)
c += 1