27 Jan Monday 20:00 Python Practice 21.01.25.
Question 1: Use TKinter to create 6 buttons as following picture: Question 2: Use TKinter to create login window as following picture: ...
Question 1: Use TKinter to create 6 buttons as following picture: Question 2: Use TKinter to create login window as following picture: ...
Question: Annie has two favourite baseball teams: the Eagle and the Warrior. She has followed them throughout the season, which is now over. The season lasted for N days. Both teams played exactly one game on each day. For each day, Annie recorded the number of runs scored by...
Question: Find a picture online (best to be .png picture with transparent background) and save it into to the same folder of your python file. Then try to load this picture to the pygame window. ...
Question:Assume the postfix expression is a string of characters separated by spaces. The operators are *, /, +, and - and the operands are assumed to be single-digit integer values. The output will be an integer result. The following are the steps how to calculate...
Question 1: Write a function to print all the even numbers between 1 to 100. Please name the function whatever you like and don’t forget to call the function after you define it. Question 2: Make a function that will allow you to print any name, address, street,...
Question: You would like to do some experiments in natural language processing. Natural language processing (NLP) involves using machines to recognize human languages. Your first idea is to write a program that can distinguish English text from French text. After some analysis, you have concluded that a very...
Question 1 Make a variable and assign a number to it (any number you like). Then display your variable using print. Question 2 Modify your variable, either by replacing the old value with a new value, or by adding something to the old value. Display the new value using print. Question 3 Make...
Question: Try to add shooting sound in the game using shoot.wav ...
Question 1: Draw the following picture in the pygame window: (could be different color) Hint: using pygame.draw.circle Question 2: Draw below image using pygame. (could using different color) ...
Question 1:Modify the program we made in the class below, so you could convert decimal number into any base number between Binary(base 2 number ) to Hex(base 16 number): from stack import * def d2b(num): s = Stack() while num >...