Posted at 19:19h
in
Uncategorized
by admin
You could do the following homework using IDLE
Question 1
Make a variable and assign a number to it (any number you like). Then display your variable using print.
Question 2
Modify your variable, either by replacing the old value with a new value, or by adding something to the old value. Display...
Question 1:
Use TKinter to create following window with three buttons:
the “blue” button will show “blue” in the label
the “red” button will show “red” in the label
if left mouse button click the “color” button will show “blue” in the label, while right mouse...
Posted at 18:01h
in
Uncategorized
by admin
Question:
Create a new flask application or use the existing flask application to create a new route called /reverse which will reverse the string. Use the GET request in the /reverse route, to get a string using the GET request and reverse it.
...
Posted at 17:19h
in
Uncategorized
by admin
Question:
Modify the code that we did in the last class. Instead of the enemy sprites appears randomly at any point on the screen, make the enemy sprite move from the top of the screen to the bottom of the screen as shown in the below...
Continue with the code from the previous class, complete writing the below methods in Cart.java and User.java files
Write method to get the total bill of all the items in the cart that the user has
Write method to print all the items in the...
Posted at 16:47h
in
Uncategorized
by admin
Question:
Trees are fundamental in many branches of computer science (Pun definitely intended). Current state-of-the art parallel computers such as Thinking Machines’ CM-5 are based on fat trees. Quad- and octal-trees are fundamental to many algorithms in computer graphics.
This problem involves building and traversing binary trees.
Given...