The Question :

Write a program to generate a dictionary that contains the number between 1 and n in the form of (key:value)=(x:x2) where n=100. For ex:

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

The example isn’t helping to deduce the require terminating condition.

If n=7, is ‘n’ the limiting case of x or x^2?

Please Help

Thanks