04 Apr Saturday 13:00 Python Practice – 23.04.01.
Question: Use TKinter to create 6 buttons as following picture: ...
Question: Use TKinter to create 6 buttons as following picture: ...
Question: How to create ending screen shows the following 3 lines of information: Game Over Your score is: ?? press space to restart and the game will be restarted if you press the space. ...
Question: Modify the program we made in the class. Add starting screen as below, the real game will start when play click the mouse in the range of the “PLAY” button. (Scroll down for more hint) You can choose and download one of the background images base...
Question: Continue modify the war-robot program we made in the class, so that: if enemy’s hp is lower or equal to 0, use msgbox to display message ‘you win’, and the while program finish. it will be the enemy’s turn to strike you back. Enemy can...
Question 1: Make a class definition for a BankAccount. It should have attributes for : – its name (a string), – account number (a string or integer), – and balance (a float). It should have methods to: – make deposits with displaying the balance, – and make withdrawals with displaying the balance. Hint: Question 2: Create...
Question: (Hint: Dijkstra) The young explorer came to a tribe. There he fell in love with the chief’s daughter, so he went to the chief to ask for marriage. The chief asked him to use 10,000 gold coins as a dowry before agreeing to marry his...