Question: Write a Python program to take user inputs of int numbers (more than 3 numbers) into a dictionary as values until the user type 'done'.
- Write a Python program to take user inputs of int numbers (more than 3 numbers) into a dictionary as values until the user type 'done'. For each input, give the default index of 1, 2, 3, etc as keys. Print out the dictionary and find the three largest values.

Please enter the #1 int number until done: 59 Please enter the #2 int number until done: 99 Please enter the #3 int number until done: 16 Please enter the #4 int number until done: 38 Please enter the #5 int number until done: 41, Please enter the #6 int number until done: done {1: 59, 2: 99, 3: 16, 4: 38, 5: 41} The 3 largest values are: 99 59 41
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
