FDS Week 5 Exercise 1 Problem 4

Write a program to generate a dictionary that contains the number between 1 and 𝑛 in the form of (π‘˜π‘’π‘¦:π‘£π‘Žπ‘™π‘’π‘’)=(π‘₯:π‘₯2) where 𝑛=100 .

Wouldn't the solution need to output a dictionary of the form x:x2 till 100?

Hi Bilal here,

I had a similar doubt regarding the same question.
It was solved in the link below:

Hope it answers your question.