TORONTO KIDS COMPUTER CLUB | Aurora Tuesday 18:30 Python Practice – 04 20.09.01.
18245
post-template-default,single,single-post,postid-18245,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

Aurora Tuesday 18:30 Python Practice – 04 20.09.01.

03 Sep Aurora Tuesday 18:30 Python Practice – 04 20.09.01.

Question 1:
Please using easygui to create the program we made in the class. The enter box will ask you password, if you get the right password, the msgbox will display ‘FBI Access granted’


Question 2:
Create a simple number guessing game. The computer will ask the first user to enter a number. Then the computer will ask the second user to enter another number. If the number second user entered is 2 times of the number of the first user entered. The program will display “Correct!” and “Thank you for playing!”, otherwise, it only shows “Thank you for playing”

Sample Input 1:
Please enter the first number: 10
Please enter the second number: 20

Sample Output 1:
Correct!
Thank you for playing!

Sample Input 2:
Please enter the first number: 9
Please enter the second number: 15

Sample Output 1:
Thank you for playing!
No Comments

Sorry, the comment form is closed at this time.