TORONTO KIDS COMPUTER CLUB | Markham Saturday 9:30 Python Homework 11.09.
16699
post-template-default,single,single-post,postid-16699,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

Markham Saturday 9:30 Python Homework 11.09.

10 Nov Markham Saturday 9:30 Python Homework 11.09.

Question 1:

Write a program that asks the user to enter his/her name, age, favorite color, and favorite food. Have the program save all four items to a pickle file named info.pkl


Question 2:

Write a program to read all the information from info.pkl file and print out the the information in one line.

example output:

Tony is 12 years old. His favorite color is blue and his favorite food is pizza.

No Comments

Sorry, the comment form is closed at this time.