Write a program to generate a dictionary that contains the number between 1 and n in the form of (πππ¦:π£πππ’π)=(π₯:π₯2) where π=100. For ex:

`If n = 7 then output will be = {0:0, 1:1, 2:4}`

I did not understand the above example. If n=7, then why the dictionary contain only 3 elements?

Also the question says that the dictionary contains number between 1 and n. So how is it that the first element is 0:0?