TORONTO KIDS COMPUTER CLUB | Monday Wednesday 10:00 Python Practice 20.07.22.
17997
post-template-default,single,single-post,postid-17997,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

Monday Wednesday 10:00 Python Practice 20.07.22.

23 Jul Monday Wednesday 10:00 Python Practice 20.07.22.

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.