TORONTO KIDS COMPUTER CLUB | admin
1

## 27 MaySaturday 09:30 Python Homework 05.25.

Question： Use TKinter to create 6 buttons as following picture: ...

## 27 MayFriday 19:00 Philip Python Homework 05.24.

Question 1. We have a list of following: zoo = ['monkeys', 'tigers', 'pandas', 'penguins', 'giraffes', 'hippos', 'bears'] how to retrieve a slice of list zoo, so you can get the following result? ['monkeys', 'pandas', 'giraffes', 'bears'] Question 2. How to get average number of the following  list mynumber? mynumber = ['3', '6', '2', '8',...

## 27 MayFriday Evening Python Homework 05.24.

Question: Problem Description You 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...

## 27 MayMonday Online Python Homework 05.23.

Question： Important!!!! Please read question through carefully, if you have any questions, please do not hesitate to contact me through weChat. The problem solving thinking of this question will help you understand future computer competition questions.  You and your friend have come up with a way to...

## 22 MayFriday 19:00 Philip Python Homework 05.17.

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: You probably used a for loop in your program in last homework. That’s how most people would do...

## 22 MayFriday Evening Python Homework 05.17.

Question 1 We are going to continue to work on the 'hero.db' database. Since we have already created a table called "heroes" in the database, we are going to add 2 more records in the table "heroes": Field name hero_level int_growth agi_growth str_growth hero_int hero_agi hero_str New record 1 Hercules 1 3.6 6 9.9 270 150 140 New record 2 Blade 1 10 18.5 14.5 40 28 39 Question 2: From all the records in...

## 21 MaySunday 16:00 Python Homework 05.19.

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

## 21 MaySaturday 16:30 Python Homework 05.18.

Question 1. We have a list of following: zoo = ['monkeys', 'tigers', 'pandas', 'penguins', 'giraffes', 'hippos', 'bears'] how to retrieve a slice of list zoo, so you can get the following result? ['monkeys', 'pandas', 'giraffes', 'bears'] Question 2. How to get average number of the following  list mynumber? mynumber = ['3', '6', '2', '8',...

## 21 MaySaturday 09:30 Python Homework 05.17.

Question： Important!!!! Please read question through carefully, if you have any questions, please do not hesitate to contact me through weChat. The problem solving thinking of this question will help you understand future computer competition questions.  You and your friend have come up with a way to...

## 19 MayPMCA Sunday 10:00 Practice -03.

You can do Question 1~ 3 in Python IDLE: Question 1. Use float() to create a number from a string like '12.34'. Make sure the result is really a number! Question 2. Try using int() to create an integer from a decimal number like 56.78. Did the answer get rounded...