27 Mar Aurora Monday 18:30 Python Homework 20.03.23.
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: You have been asked by a parental unit to do your chores. Each chore takes a certain amount of time, but you may not have enough time to do all of your chores, since you can only complete one chore at a time. You can do...
Problem Description Anna and Jack are playing a game. Each player starts with 100 points. The game uses standard six-sided dice and is played in rounds. During one round, each player rolls one die. The player with the lower roll loses the number of points shown on the...
Question 1. Write a program to print a multiplication table (a times table). At the start, it should ask the user which table to print. The output should look something like this: Sample Input: Which multiplication table would you like? 5 Sample Output: Here’s your table: 5 x 1 = 5 5 x 2...
Question: Make a function that will allow you to print any name, address, street, city, state or province, zip or postal code, and country in the world. (Hint: It needs seven arguments. You can pass them as individual arguments or as a list.) Class review: ...
Import practice: Question 1. Write a short program to generate a list of five random integer numbers from 1 to 20, and print them out. Question 2. Write a short program that prints out a random decimal number every 3 seconds for 30 seconds Bonus Question (Difficulty: Hard): Write a function to print your name...
Question: ...
Question: Make a list by taking 10 input from user. Now delete all repeated elements of the list. Sample Input: 1,2,3,2,1,3,12,12,32 Sample Output: 1,2,3,12,32 ...
Question:Create a Time class and initialize it with hours and minutes. Make a method addTime which should take two time object and add them. For example: (2 hour and 50 min) + (1 hr and 20 min) is (4 hr and 10 min) Make a method displayTime...
Question 1. Write a program to print a multiplication table (a times table). At the start, it should ask the user which table to print. The output should look something like this: Sample Input: Which multiplication table would you like? 5 Sample Output: Here’s your table: 5 x 1 = 5 5 x 2...