TORONTO KIDS COMPUTER CLUB | Tuesday 17:00 Python Practice – 22.04.12.
20543
post-template-default,single,single-post,postid-20543,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 17:00 Python Practice – 22.04.12.

15 Apr Tuesday 17:00 Python Practice – 22.04.12.

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 text file called myinfo.txt, each one on a separate line.


Question 2:

Write a program that asks the user to enter his/her favorite book and add the answer into the myinfo.txt created in the Question 1, make sure it is added into a separate line.

No Comments

Sorry, the comment form is closed at this time.