22 Apr PMCA Saturday 18:30 Python Homework 21.04.17.
Question1:
Ask user to give name and marks of 10 different students. Store them in dictionary.
Question 2:
The below dictionary contains the mapping of item name in a store and the price of the item in the store.
{‘item1’: 45.50, ‘item2’:35, ‘item3’: 41.30, ‘item4’:55, ‘item5’: 24}
Write a python code to print the name of the most expensive item and the least expensive item from the above dictionary.
Sorry, the comment form is closed at this time.