LearnPy Hub
← Loops problems
Easy

Table of Squares

Read n and print lines i i² for i from 1 to n.

Input

One integer n ≥ 1.

Output

n lines.

Sample 1

Input
3
Output
1 1
2 4
3 9

Sample 2

Input
1
Output
1 1
solution.py
Output appears here
Table of Squares · Python practice problem · LearnPy Hub