11 Sep Aurora Wednesday 18:30 Python Practice – 03 20.09.09.
Posted at 01:57h in Aurora Wednesday 18:30 0 Comments
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.
Write a program to use easygui enterbox that asks for your name, 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:
Hint: '\n' can help you create a new line for example: >>> print('Kevin\nZhu') >>> Kevin >>> Zhu
Class review and Hint:
Sorry, the comment form is closed at this time.