TORONTO KIDS COMPUTER CLUB | admin
1

## 12 FebAurora Saturday 16:30 Python Homework 20.02.08.

Question 1: You are in a bike race which goes up and down a hill. You could create two variables: uphillDistance and downhillDistance give the distance (in km) of both parts of the race. Write a program that will print out the total distance for the...

## 12 FebAurora Saturday 14:30 Python Homework 20.02.08.

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

## 09 FebMarkham Saturday 9:30 Python Homework 02.08.

Question: Create an object WordReverse to reverse a string. You need one argument (which is the original string) to create the object, for example:def __init__(self, word): You need one method to reverse the string and it will return a reversed string, you can define the method as following:def...

## 09 FebPMCA Sunday 14:00 Python Homework 20.02.09.

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

## 06 FebPMCA Sunday 16:00 Python Homework 20.02.02.

Question: Modify the program we made in the class: if your spaceship touched the enemy, the game over and return back the the start screen. so you can click the play button and restart the game. ...

## 06 FebPMCA Sunday 12:00 Java Homework 20.02.02.

Question:Let's say you have 4 coins each worth 1\$, 2\$ , 5\$ and 10\$. You have to find the number of ways you can give him N dollars change. N is a whole number. Sample Input 1: 1 Sample Output 1:1 Explanation: You can give him only one 1\$...

## 06 FebPMCA Sunday 10:00 Java Homework 20.02.02.

Question: Write a method that reads in three angles (in degrees). State the type of the triangle based on the conditions below: If all three angles are 60, output Equilateral. If the three angles add up to 180 and exactly two of the angles are the...

## 06 FebMarkham Saturday 14:00 Java Homework 20.02.01.

Problem Description We often include emoticons in our text messages to indicate how we are feeling. The three consecutive characters :-) indicate a happy face and the three consecutive characters :-( indicate a sad face. Write a program to determine the overall mood of a message. Input...

## 06 FebPMCA Sunday 14:00 Python Homework 20.02.02.

Question 1 Mike, Cindy and Terry went to the orchard to pick apples. After a whole day of work, everyone picked a lot of apples. Please write a program ask how many apples each person has picked, then print the total apples all three of them...

## 06 FebPMCA Sunday 09:00 Python Homework 20.02.02.

Question 1. Write a program that asks for your first name, then asks for your last name, and then prints a message with your first and last names in it. Hint: Use input() to ask question and get answer, for example: firstName = input("What is your first name?") The string answer as value will be assigned...