problem_two.py 100 B

1234
  1. number = int(input().strip())
  2. for i in range(1, number):
  3. print(i**2) if i**2 < number else ...