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

PMCA Saturday 18:30 Python Homework 21.04.24.

25 Apr PMCA Saturday 18:30 Python Homework 21.04.24.

Question 1:

Given a dictionary as below

fruitDict = {‘Apple’: 10, ‘banana’: 5,’orange’:4,’Guava’:6}

Find the multiplication of all the values in the dictionary

Question 2:

Given a dictionary  as below which contains the mapping between an employee and their salary(in $) :

empdict = {‘Jack’: 12000, ‘Max’: 20000, ‘Hack’:25000,’Nack’:80000}

Print all the employees whose salary is more than 20000

No Comments

Sorry, the comment form is closed at this time.