TORONTO KIDS COMPUTER CLUB | Saturday 9:30 Homework
102

# Saturday 9:30 Homework

## 05 JunSaturday 09:30 Python Homework 06.01.

Question： As we mentioned in the class, please modify the code below to create simple calculator to: add addition, subtraction, multiplication and  division button and calculate accordingly check if the num1 and num2 is valid entry(has to be all digits) show "please select operation" when user...

## 27 MaySaturday 09:30 Python Homework 05.25.

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

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

## 14 MaySaturday 09:30 Python Homework 05.11.

Question: Modify the program we made in the class. Add starting screen as below, the real game will start when play click the mouse in the range of the "PLAY" button. (Scroll down for more hint) You can also download the code from the following link: fighter_program.py You can...

## 07 MaySaturday 09:30 Python Homework 05.04.

Question: Eric works in a door mat manufacturing company. One day, he designed a new door mat with the following specifications: ◦ Mat size must be A x B. (A is an odd natural number, and B is 3 times A.) ◦ The design should have 'WELCOME' written in...

## 28 AprSaturday 09:30 Python Homework 04.27.

Question: Make a program to verify whether the credit card numbers from ABCD Bank are valid or not. A valid credit card from ABCD Bank has the following characteristics: It must start with a 4, 5 or 6. It must contain exactly 16 digits. It must only consist...

## 18 AprSaturday 09:30 Python Homework 04.13.

Question: You are given a string . Suppose a character 'a' occurs consecutively n times in the string. Replace these consecutive occurrences of the character 'a' with (n, 'a') in the string. Input Format:  A single line of input consisting of the string . Output Format: A single line of...

## 09 AprSaturday 09:30 Python Homework 04.06.

Question: Please make some modifications of the program we made in the class. Make ball appears on the top if the ball reaches the bottom, or appears at bottom when the ball reaches the top....

## 01 AprSaturday 09:30 Python Homework 03.30.

Question: Using function or object method to write a program to return the number of times that the string "code" appears anywhere in the given string, except we'll accept any letter for the 'd', so "cope" and "cooe" count. For example: 'aaacodebbb' will have 1 "code" 'codexxcode' will have 2 "code" 'cozexxcope'...

## 24 MarSaturday 09:30 Python Homework 03.23.

Question 1: Write a Python program (either use function or object method) to check the validity of password input by users. Validation : At least 1 letter between [a-z] and 1 letter between[A-Z]. At least 1 number between [0-9]. At least 1 character from [\$#@]. Minimum length...