TORONTO KIDS COMPUTER CLUB | Markham Saturday 15:30 Homework
121

# Markham Saturday 15:30 Homework

## 07 MayMarkham Saturday 15:30 Python Homework 20.05.02.

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

## 29 AprMarkham Saturday 15:30 Python Homework 20.04.25.

Question: Jack is depositing money! Every year, Jack puts N coins into his bank account. At the end of each year, Jack’s investments will grow by P percent, rounded down to the nearest coin. After Y years, he would like to have at least T coins in his bank account so that he can buy some...

## 25 AprMarkham Saturday 15:30 Python Homework 20.04.18.

Question: Jack is sending a super special love letter, and because it is so special he doesn’t want anyone (except his crush obviously) to see it. To stop it from getting into the wrong hands, he has decided to encrypt the letter with a Caeser Cipher (don’t...

## 09 AprMarkham Saturday 15:30 Python Homework 20.04.04.

Problem Description Jack is trying to invent some new words from old words. For every consonant (consonants are the letters except for a, e, i, o, u) in the old word is replaced by three letters, in the following order: the consonant itself; the vowel closest...

## 02 AprMarkham Saturday 15:30 Python Homework 20.03.28.

Question: Write a function to print your name in big letters, make sure you enter the name in lower case, like this: Please click and download the following file and finish the function. big_letter_hint ...

## 27 MarMarkham Saturday 15:30 Python Homework 20.03.21.

Import practice: Question 1. Write a short program to generate a list of five random integer numbers from 1 to 20, and print them out. Question 2. Write a short program that prints out a random decimal number every 3 seconds for 30 seconds Bonus Question (Difficulty: Hard): Write a function to print your name...

## 20 MarMarkham Saturday 15:30 Python Homework 20.03.14.

Question: The International Standard Book Number (ISBN) is a 13-digit code for identifying books. These numbers have a special property for detecting whether the number was written correctly. The 1-3-sum of a 13-digit number is calculated by multiplying the digits alternately by 1’s and 3’s (see example)...

## 12 MarMarkham Saturday 15:30 Python Homework 20.03.07.

Question: You have come up with the following compression technique: for each symbol, write down the number of times it appears consecutively, followed by the symbol itself. This compression technique is called run-length encoding. Given a sequence of characters, write a program to encode them in this...

## 06 MarMarkham Saturday 15:30 Python Homework 20.02.29.

Question: Make a list by taking 10 input from user. Now delete all repeated elements of the list. Sample Input: 1,2,3,2,1,3,12,12,32 Sample Output: 1,2,3,12,32...

## 15 JanMarkham Saturday 15:30 Python Homework 20.01.11.

Question 1：(please use function that return a value) Write a program to display information to a driver based on his/her speed according to the following table: km/h over the limit Fine 1 to 20 \$100 21 to 30 \$270 31 or above \$500 Sample Input 1: Enter the speed limit: 40 Enter the recorded speed of the car:...