TORONTO KIDS COMPUTER CLUB | Wednesday 17:00 Homework
152

# Wednesday 17:00 Homework

## 03 FebWednesday 17:00 Python Practice – 23.02.01.

Question: You supervise a small parking lot which has N parking spaces. Yesterday, you recorded which parking spaces were occupied by cars and which were empty. Today, you recorded the same information. How many of the parking spaces were occupied both yesterday and today? Input Specification: The first line of input contains the...

## 28 JanWednesday 17:00 Python Practice – 23.01.25.

Question 1： You and your friend have come up with a way to send messages back and forth. Your friend can encode a message to you by writing down a positive integer N and a symbol. You can decode that message by writing out that symbol N times in a row...

## 23 JanWednesday 17:00 Python Practice – 23.01.18.

Question: Continue to program the code so the equal (=) button will work....

## 15 JanWednesday 17:00 Python Practice – 23.01.11.

Question: Continue to program the code so the change sign (+/-) button, zero(0) button and decimal (.) button can work....

## 08 JanWednesday 17:00 Python Practice – 23.01.04.

Question:Continue to program the code so the back(<-) button can work: when you click the back button, it will delete the last digit or decimal. However if there’s only one digit left and that digit is not 0, it will change into 0. check the calculator...

## 13 DecWednesday 17:00 Python Practice – 22.12.28.

Question： Try to use for loop to create buttons from 1-9, so the tkinter window would display as below: for i in range(1, 10): col = ____________ row = ____________ btn_num = ____________ btn_num.grid(row=row, column=col) ...

## 13 DecWednesday 17:00 Python Practice – 22.12.07.

Question 1:Santa Claus is wondering which extra gift(s) he’s going to send out for each kids. Eventually, he is going to use his reindeer to determine which gift(s) to give. There are only 3 types of gifts to give:• Nerf Guns if the reindeer shook...

## 04 DecWednesday 17:00 Python Practice – 22.11.30.

Question: how to add the following turret and bullet to the spacestation? the bullet shout rotated base on the rotation degree of the turret.    ...

## 29 NovWednesday 17:00 Python Practice – 22.11.23.

Question: Thinking of the following two question: how to change boss picture in the level 2? how to add the following turret on the spacestation? ...

## 22 NovWednesday 17:00 Python Practice – 22.11.16.

Question: Thinking how to add space stations as background when score reaches 200 as level 2? ...