TORONTO KIDS COMPUTER CLUB | admin
1
archive,paged,author,author-admin,author-1,paged-104,author-paged-104,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Author: admin

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...

Read More

21 Apr Tuesday 17:30 Python Homework 21.04.20.

Question: Write a program to ask the user for five names. The program should store the names in a list, and print them all out at the end. It should look something like this: Sample input: Enter 5 names: Tony Paul Nick Michel Kevin Sample output: The names are Tony, Paul, Nick, Michel, Kevin Hint: You can use...

Read More