Python Projects
Link
click to show
click to show
Practice Code: 052
You have to create a program where you have to create a dictionary with key (1 to n) and value be square of the key.
Sample Run:-
input - 5
output - {1:1 , 2:4 , 3:9 , 4:16 , 5:25}
Good luck!
««« Click here for solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #numbers #algorithm
18 · 59.4K ·