TORONTO KIDS COMPUTER CLUB | Uncategorized
1
archive,paged,category,category-uncategorized,category-1,paged-76,category-paged-76,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Uncategorized

18 Oct Protected: Homework Questions

=============================== 1. Variables =============================== Question 1.1 Make a variable and assign a number to it (any number you like). Then display your variable using print. Question 1.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...

Read More

16 Oct Sunday 16:00 Python Homework 10.13

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

Read More

09 Oct Sunday 16:00 Python Homework 10.06

Question: Write a function to calculate the total value of some change—quarters, dimes, nickels, and pennies. The function should return the total value of the coins. Then write a program that calls the function. The output should look like this when it runs: Sample input: quarters: 3 dimes: 6 nickels: 7 pennies: 2 Sample output: total is...

Read More