TORONTO KIDS COMPUTER CLUB | PMCA Sunday 09:00 Python Homework 20.02.09.
17061
post-template-default,single,single-post,postid-17061,single-format-standard,ajax_fade,page_not_loaded,,no_animation_on_touch,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

PMCA Sunday 09:00 Python Homework 20.02.09.

14 Feb PMCA Sunday 09:00 Python Homework 20.02.09.

Question 1.

Use EasyGui to write a program to convert temperatures from Fahrenheit to Celsius. The formula for that is: Celsius = 5 / 9 * (Fahrenheit – 32). Use GUI input and output. You need to create a easygui enterbox to ask Fahrenheit, then use message box to show the Celsius degree. (Hint: the input you get from the enter box is a string, so you need float() to convert it into decimal number.


Question 2.

Write a program that asks for your name, then house number, then street, then city, then province, then postal code (all in EasyGui message boxes). The program should then display a mailing-style full address that looks something like this:

Kevin Zhu
19 King St.
Toronto, Ontario
M2J1C2


Class review and Hint:

No Comments

Sorry, the comment form is closed at this time.