Solve problem "List of squares" online - Learn Python 3 - Snakify

Problem «List of squares» (Easy)


Statement

For a given integer N, print all the squares of integer numbers where the square is less than or equal to N, in ascending order.

In all the problems input the data using input() and print the result using print().



Saved solutions

Tests

Input Correct answer Result
50
1 4 9 16 25 36 49
10
1 4 9
9
1 4 9
4
1 4
1
1
100
1 4 9 16 25 36 49 64 81 100
99
1 4 9 16 25 36 49 64 81