19 Sep Aurora Monday 18:30 Python Homework 21.09.13.
Question 1: Use TKinter to create 6 buttons as following picture: Question 2: Use TKinter to create login window as following picture: ...
Question 1: Use TKinter to create 6 buttons as following picture: Question 2: Use TKinter to create login window as following picture: ...
Question: Create a list called “attributes” , it contains “HP”, “Attack”, “Defense”, “Special Attack”, “Special Defense”, “Speed” Modify the list above, replace “Special Attack” and “Special Defense” with “Magic” and “Stamina” Add “Special skills” in the end of the list Delete “Speed” from the list. ...
Question: You have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4 kinds of commands: 1 X Y : move box X to the left to Y (ignore this if X is...
Question: You have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4 kinds of commands: 1 X Y : move box X to the left to Y (ignore this if...
Question: Create a new pygame window and then create 2 different types of sprites by the name of Player and Enemy. Make sure, you are able to move the Player using the keyboard arrow keys. Make sure you create atleast 10 different enemies sprite objects and only...
Question 1 A left rotation operation on an array of size shifts each of the array's elements unit to the left. Given an integer, write the code to rotate the array that many steps left and return the result. Sample Input 1: numSteps: 2 arr: [1,2,3,4,5] Sample Output 1: arr :...
Question: In the previous class, we built a simple store in Java by using different classes and objects. In the previous class, we built the Product class and created the object out of the product class and used a for loop to Print the product objects. As...
Question 1: Create a dictionary variable personalInfo. The keys will be the information to be filled, such as: name, age, address, etc. The values is the personal detailed info, such as: Kevin, 19, 123 King St, etc. Question 2: From the dictionary created above, make two lists (make sure...
Question: A number of K balls are dropped one by one from the root of a fully binary tree structure FBT. Each time the ball being dropped first visits a non-terminal node. It then keeps moving down, either follows the path of the left subtree, or...
Question: You’re typing a long text with a broken keyboard. Well it’s not so badly broken. The only problem with the keyboard is that sometimes the “home” key or the “end” key gets automatically pressed (internally). You’re not aware of this issue, since you’re focusing on the...