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

Tuesday 17:00 Python Practice – 21.10.26.

31 Oct Tuesday 17:00 Python Practice – 21.10.26.

Question:

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.)

No Comments

Sorry, the comment form is closed at this time.