Write a python program to get the minimum and maximum value from user
and display the dictionary according to the below output.
Min=10
Max=13
{10: 100, 11:121, 12:144, 13:169}
Answers
Answered by
1
Explanation:
dictionary = {10: 100, 11:121, 12:144, 13:169}
print("Enter value")
input = int(input())
if(input<10 && input>13):
print("Wrong input")
else :
print(dictionary.get(input))
Similar questions