TORONTO KIDS COMPUTER CLUB | Mon Wed 10:00 Homework
135

# Mon Wed 10:00 Homework

## 04 AugMonday Wednesday 10:00 Python Practice 20.08.03.

Question: 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: Sample Input: Which multiplication table would you like? 5 Sample Output: Here’s your table: 5 x 1 = 5 5 x 2 =...

## 30 JulMonday Wednesday 10:00 Python Practice 20.07.29.

Question 1: A store is having a sale. They’re giving 10 percent off purchases of \$10 or lower, and 20 percent off purchases of greater than \$10. Write a program that asks the purchase price and displays the discount (10% or 20%) and the final price. Sample Input...

## 23 JulMonday Wednesday 10:00 Python Practice 20.07.22.

Question 1: Please using easygui to create the program we made in the class. The enter box will ask you password, if you get the right password, the msgbox will display 'FBI Access granted' Question 2: Create a simple number guessing game. The computer will ask the first...

## 20 JulMonday Wednesday 10:00 Python Practice 20.07.20.

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

## 17 JulMonday Wednesday 10:00 Python Practice 20.07.15.

Question 1. Use EasyGui buttonbox to write a program to ask your favorite ice cream flavor, the easygui window will give you three choices. Using msgbox to display your selection as following: ...

## 14 JulMonday Wednesday 10:00 Python Practice 20.07.13.

Question: Write a program that helps the user add up her change. The program should ask: “How many quarters?” “How many dimes?”  “How many nickels?” Then it should give the total value of the change. Hint: You should create 3 variables to assign to the number of quarters, dimes and...

## 09 JulMonday Wednesday 10:00 Python Practice 20.07.08.

You can do Question 1~ 3 in Python IDLE shell: 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...

## 07 JulMonday Wednesday 10:00 Python Practice 20.07.06.

Question 1 Make a variable and assign a number to it (any number you like). Then display your variable using print. Question 2 Modify your variable, either by replacing the old value with a new value, or by adding something to the old value. Display the new value using print. Question 3 Make another...