TORONTO KIDS COMPUTER CLUB | PMCA Saturday 18:30 Python Homework 21.04.17.
19319
post-template-default,single,single-post,postid-19319,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Saturday 18:30 Python Homework 21.04.17.

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.

No Comments

Sorry, the comment form is closed at this time.