TORONTO KIDS COMPUTER CLUB | admin
1

## 19 MarAurora Wednesday 18:30 Python Practice 21.03.17.

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) ...

## 19 MarTuesday 17:30 Python Homework 21.03.16.

Question 1: Please use for loop to create the multiplication table program. After asking which table the user wants, ask her how high the table should go. The output should look like this: Sample Input: Which multiplication table would you like? 7 How high do you want to go? 12 Sample Output: Here’s your...

## 16 MarMonday 20:00 Python Practice 21.03.15.

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...

## 16 MarAurora Monday 18:30 Python Homework 21.03.15.

Question： Write a program to ask the user for five names. The program should store the names in a list, and print them all out at the end. It should look something like this: Sample input： Enter 5 names: Tony Paul Nick Michel Kevin Sample output： The names are Tony, Paul, Nick, Michel, Kevin Hint: You can use...

## 16 MarPMCA Sunday 10:00 Practice -03.14

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 >...

## 16 MarAurora Saturday 14:30 Python Practice 21.03.13.

Question: Because you somehow missed out on having a proper childhood, your friends are now forcing you to play a certain game for the first time – Super Mario Brothers. However, as a result of said missing-out, you find that you hate it. Who would want...

## 16 MarAurora Saturday 13:00 Python Practice 03.13.

Question: 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 ...

## 16 MarPMCA Sunday 14:00 Python Homework 21.03.14.

Question: Suppose we have a number like 12. Let’s define shifting a number to mean adding a zero at the end. For example, if we shift that number once, we get the number 120. If we shift the number again we get the number 1200. We...

## 16 MarPMCA Saturday 18:30 Python Homework 21.03.13.

Question: A palindrome is a word which is the same when read forwards as it is when read backwards. For example, mom and anna are two palindromes. A word which has just one letter, such as a, is also a palindrome. Given a word, what is the longest palindrome that is contained in...

## 16 MarMarkham Saturday 14:00 Java Homework 21.03.13.

Question: Trick E. Dingo is trying, as usual, to catch his nemesis the Street Sprinter. His past attempts using magnets, traps and explosives have failed miserably, so he’s catching his breath to gather observational data and learn more about how fast Street Sprinter is. Trick E. Dingo...