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

Uncategorized

24 Dec 2021 Winter Camp -04

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

Read More

22 Dec 2021 Winter Camp -03

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

Read More

21 Dec Monday 17:00 Python Practice – 21.12.20.

Question 1: Continue coding the program, so the program will tell you whether you can pay in the zone: height color zone if<90 red 1 elif<105 blue 1, 2 elif <120 green 1,2,3 elif <135 yellow 1,2,3,4,5 elif <150 purple 4,5 else white 6 Please continue coding the following program: print('Welcome to the adventureland!') while True: # this line means forever h= int(input('Height:'))    if h <...

Read More