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
Sorry, the comment form is closed at this time.