TORONTO KIDS COMPUTER CLUB | Markham Saturday 9:30
123

# Markham Saturday 9:30

## 11 AugMarkham Saturday 9:30 Python Homework 20.08.08.

Question: Please use stack knowledge to solve the following question:Balanced parentheses means that each opening symbol has a corresponding closing symbol and the pairs of parentheses are properly nested. Consider the following correctly balanced strings of parentheses: (()()()())(((())))(()((())())) Compare those with the following, which are not balanced: ((((((())()))(()()(() Write an...

## 04 AugMarkham Saturday 9:30 Python Homework 20.08.01.

Question 1:Modify the Dice class we made in the last class, so it could compare with different dies using ==. In order to complete this task, you need to overwrite __eq__. Question 2:Create Card class so it can complete the following tasks: Card() - You can initial...

## 29 JulMarkham Saturday 9:30 Python Homework 20.07.25.

Problem DescriptionSuppose we have a number like 12. Let’s define shifting a number to mean adding a zero at the end. For example, if we shift that number once, we get the number 120. If we shift the number again we get the number 1200....

## 21 JulMarkham Saturday 9:30 Python Homework 20.07.18.

Question 1:Ask user to give name and marks of 10 different students. Store them in dictionary. Question 2:Count the number of occurrence of each letter in word “MISSISSIPPI”. Store count of every letter with the letter in a dictionary. ...

## 16 JulMarkham Saturday 9:30 Python Homework 20.07.11.

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

## 08 JulMarkham Saturday 9:30 Python Homework 20.07.04.

Question: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 on...

## 02 JulMarkham Saturday 9:30 Python Homework 20.06.27.

Question： Continue to program the code to complete the following task: if you click 0 and the display is 0, the display will remain 0 if you click any number other than 0 and the display is 0, the display changed into the number you clicked if you click...

## 24 JunMarkham Saturday 9:30 Python Homework 20.06.20.

Question： Continue to program the code so the tkinter window would display as below: ...

## 17 JunMarkham Saturday 9:30 Python Homework 20.06.13.

Question： Continue to program the code we made in the class at the bottom of this page. Try to use for loop to create buttons from 1-9, so the tkinter window would display as below: Hint:You can use "for i in range(1, 10):" or "for i in...

## 09 JunMarkham Saturday 9:30 Python Homework 20.06.06.

Question： Use TKinter to create following window with three buttons: the “blue” button will print “blue” in the python shell screen the “red” button will print “red” in the python shell screen if left mouse button click the “color” button will print “blue” in the python shell screen, while...