22 Nov Wednesday 17:00 Python Practice – 22.11.16.
Question: Thinking how to add space stations as background when score reaches 200 as level 2? ...
Question: Thinking how to add space stations as background when score reaches 200 as level 2? ...
Question: Plasmatic loves playing with playdoughs in his spare times. Currently, he has a collection of N playdoughs, and the ith playdough weighs ai grams for each i from 1 to N. However, he is too busy practicing for IOI. As a result, he doesn’t have much time...
Question 1: Create a dictionary variable personalInfo. The keys will be the information to be filled, such as: name, age, address, etc. The values is the personal detailed info, such as: Kevin, 19, 123 King St, etc. Question 2: From the dictionary created above, make two lists (make sure...
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: Write a function luckySum(a, b, c) to calculate sum of given 3 int values, a b c. The function will have a return value of their sum. However, if one of the values is 13 then it does not count towards the sum and values to its...
Question: The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid that divides the land into numerous square plots. It then analyzes each plot separately, using sensing equipment...
Question: We have learned how to make the pirate ship bouncing left and right, try the following: How to make the pirate ship move and bounce diagonally when it reaches the edge ( the pirate ship image is 200px by 166px)...
Question: Given an positive integer N, we define an equation like this:N=a[1]+a[2]+a[3]+...
Question: Given the list of student marks: marks = [62, 84, 74, 51, 98, 73, 77, 90, 85, 79, 65, 58, 74, 86] Write a function that takes in a list of arguments and then returns a list containing marks which are above average. Name the function whatever you like...
Question: Given the list of student marks: marks = [62, 84, 74, 51, 98, 73, 77, 90, 85, 79, 65, 58, 74, 86] Write a function that takes in a list of arguments and then returns a list containing marks which are above average. Name the function whatever you like...