Question:Create a Time class and initialize it with hours and minutes.
Make a method addTime which should take two time object and add them. For example: (2 hour and 50 min) + (1 hr and 20 min) is (4 hr and 10 min)
Make a method displayTime...
Posted at 21:04h
in
archives
by admin
Question 1.
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...
Question:
Modify the program we made in the class to finish the tk window just like below and make sure no error message shows when we click the button.
...
Posted at 20:17h
in
Uncategorized
by admin
Question:Create a Time class and initialize it with hours and minutes.
Make a method addTime which should take two time object and add them. E.g.- (2 hour and 50 min)+(1 hr and 20 min) is (4 hr and 10 min)
Make a method displayTime which should print...
Question 1:Write a function buildTree that returns a tree using the nodes and references implementation (BinaryTree class) we learned in the class that looks like this::
...
Posted at 00:40h
in
Uncategorized
by admin
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...