TORONTO KIDS COMPUTER CLUB | Monday 17:00 Python Practice – 22.04.11.
20540
post-template-default,single,single-post,postid-20540,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Monday 17:00 Python Practice – 22.04.11.

15 Apr Monday 17:00 Python Practice – 22.04.11.

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.