TORONTO KIDS COMPUTER CLUB | Tuesday Python Homework 18:30 – 22.04.26.
20592
post-template-default,single,single-post,postid-20592,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

Tuesday Python Homework 18:30 – 22.04.26.

01 May Tuesday Python Homework 18:30 – 22.04.26.

Question 1:

Create a dictionary variable personalInfo. The keys will be the information to be filled, such as: name, age, address, etc. The values is the personal detailed info, such as: Kevin, 19, 123 King St, etc.


Question 2:

From the dictionary created above, make two lists (make sure it is a list!!), one list only contains all the keys from personalInfo, the other list only contails all the values from the dictionary.


Question 3:
Count the number of occurrence of each letter in word “MISSISSIPPI”. Store count of every letter with the letter in a dictionary.

No Comments

Sorry, the comment form is closed at this time.