TORONTO KIDS COMPUTER CLUB | admin
1

## 03 FebMarkham Saturday 14:00 Java Homework 21.01.30.

Question 1: (If you have finished this question, please try Question 2) Below is an 8 × 8 chessboard on which we will designate square locations using the ordered pairs as indicated. For example, notice that piece A is at position (2, 2) and piece B...

## 03 FebMonday 20:00 Python Practice 21.02.01.

Question： Continue modify the following method in the SimpleCalc class we made in the class: def getResult(self): so that it will check the following conditions: number 1 has to be a number (you can consider using try and except to do it) number 2 should not be empty and has...

## 03 FebAurora Monday 18:30 Python Homework 21.02.01.

Question： Your hero has 4850 gold and start with level 1. Write a program to ask if you would like to spend 200 gold to upgrade your hero to a new level each time. If you agree to upgrade your hero, show hero’s new level and gold left over after each...

## 03 FebAurora Saturday 14:30 Python Practice 21.01.30.

Question 1: Jack has an LED clock radio, which is a 12-hour clock, displaying times from 12:00 to 11:59. The hours do not have leading zeros but minutes may have leading zeros, such as 2:07 or 11:03. When looking at her LED clock radio, Jack likes to...

## 03 FebAurora Saturday 13:00 Python Practice 01.30.

Question 1: We have learn how to make the picture bounce from left to right and right to left. Please make change of the program we made in the class to make the picture bounce up and down as well. Hint: We made a variable named ‘xspeed’ to...

## 02 FebPMCA Friday 19:00 Python Homework 21.01.29.

Question:One of the simplest ways of coding a message is to do a letter shift. For example, if you shift the letters in the original message by 5 then A in your original message becomes F in the coded message. (B → G, C → H, …, T → Y, U → Z, V → A, …, Z → E). To decode the...

## 02 FebFriday 17:00 Python Practice 21.01.29.

Question: Problem DescriptionYou are trying to pass the time while at the optometrist. You notice there is a grid of four numbers: 1 2 3 4 You see lots of mirrors and lenses at the optometrist, and wonder how flipping the grid horizontally or vertically would change the grid. Specifically, a...

## 01 FebAurora Monday 18:30 Python Homework – Level 1 – Test

1. What is the output of print mystr * 2 if mystr = 'Hello World!'? A. Hello World * 2 B. Hello World! Hello World! C. Hello Hello D. mystr mystr 2. How would you cast the string variable “a” that is equal to “2” into the integer 2? A. castToInt(a) B. int(a) C....

## 30 JanAurora Wednesday 18:30 Python Practice 21.01.27.

Question 1: 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.) Question 2: Write a function to calculate the total value of...