Easy
Squares Dictionary
Read n and print a dictionary mapping each number from 1 to n to its square.
Input
One integer n ≥ 1.
Output
A dictionary.
Sample 1
Input
3
Output
{1: 1, 2: 4, 3: 9}Sample 2
Input
1
Output
{1: 1}Output appears hereOne integer n ≥ 1.
A dictionary.
3
{1: 1, 2: 4, 3: 9}1
{1: 1}Output appears here