Posted at 15:45h
in
Uncategorized
by admin
Question:
Make a function that will allow you to print any name, address, street, city, state or province, zip or postal code, and country in the world. (Hint: It needs seven arguments. You can pass them as individual arguments or as a list.)
Class review:
...
Posted at 16:06h
in
Uncategorized
by admin
Question:
Modify the program we made in the class. Add starting screen as below, the real game will start when play click the mouse in the range of the “PLAY” button. (Scroll down for more hint)
You can download the background images from below:
The size of the...
You could create python file and Write program for the following questions, detailed instructions as below:
Open Python IDLE
In Menu Bar, Click “File” => “New File”
In the file write your program
After finishing writing the program, click “Run”=>”Run Module” in menu bar or...
Posted at 14:55h
in
archives
by admin
Problem Description
A common problem in mathematics is to determine which quadrant a given point lies in. There are four quadrants, numbered from 1 to 4, as shown in the diagram below:
For example, the point A, which is at coordinates (12, 5) lies in quadrant 1...
Question:
Write a program to print out a calendar for a particular month given the day on which the first of the month occurs together with the number of days in the month.
Your program should take as input an integer representing the day of the week...
Posted at 14:33h
in
Uncategorized
by admin
Question 1:
Create a Student class and make the following methods to :
__init__() – Initialize it with name and roll number.
__str__() – Display all information of the student.
setAge() – It should assign age to student.
setMarks() – It should assign marks to the...