- 1
# 1.With a given integral number n, write a program to generate a dictionary that contains (i, i*i) such that is an integral num
# 1.With a given integral number n, write a program to generate a dictionary that contains (i, i*i) such that is an integral number between 1 and n (both included). and then the program should print the dictionary.
3 Réponses
+ 1
https://code.sololearn.com/cgFxhbeaoQSA/?ref=app
My attempt...
+ 1
Thank you Kishalaya Saha
0
Your code looks good! Just write print(squares(8)) in the last line, and it'd print the dictionary. Hope that helps 😊