30 May Saturday 16:30 Python Practice – 22.05.21.
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’
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!