13 Nov PMCA Sunday 16:00 Python Homework 11.10
Question: Draw the following picture in the pygame window: (could be different color) Hint: using pygame.draw.circle ...
Question: Draw the following picture in the pygame window: (could be different color) Hint: using pygame.draw.circle ...
Question 1: Problem DescriptionYou might be surprised to know that 2013 is the first year since 1987 with distinct digits. The years 2014, 2015, 2016, 2017, 2018, 2019 each have distinct digits. 2012 does not have distinct digits, since the digit 2 is repeated. Given a year,...
Problem Description An artist wants to construct a sign whose letters will rotate freely in the breeze. In order to do this, she must only use letters that are not changed by rotation of 180 degrees: I, O, S, H, Z, X, and N. Write a program...
Problem Description An artist wants to construct a sign whose letters will rotate freely in the breeze. In order to do this, she must only use letters that are not changed by rotation of 180 degrees: I, O, S, H, Z, X, and N. Write a program...
Problem Description An artist wants to construct a sign whose letters will rotate freely in the breeze. In order to do this, she must only use letters that are not changed by rotation of 180 degrees: I, O, S, H, Z, X, and N. Write a program...
Question: A store is having a sale. They’re giving 2 dollars off purchases of $10 or lower, and 3 dollars off purchases of greater than $10. Write a program that asks the purchase price and displays the final price....
Question 1 Use EasyGui to write a program to convert temperatures from Fahrenheit to Celsius. The formula for that is: Celsius = 5 / 9 * (Fahrenheit - 32). Use GUI input and output. You need to create a easygui enterbox to ask Fahrenheit, then use...
Question: Vehicles are classified based on their total interior volume. Write a program to classify a vehicle based on total interior volume, in cubic feet, as shown in the table below: Vehicle size class Total interior volume Minicompact Less than 85 cubic feet Subcompact 85 to 99 cubic feet Compact 100 to 109 cubic...
Continue modify the program we made in the class: create Energy class. A new energy crystal object will be created when the enemy spaceship explode use spritecollide to let the fighter collect energy crystals, if the energy crystal is collected, the score will increase ...
Question 1: Write a program that asks the user to enter his/her name, age, favorite color, and favorite food. Have the program save all four items to a pickle file named info.pkl Question 2: Write a program to read all the information from info.pkl file and print out...