This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ws the axis aligned rectangle for which those two points are in opposing corners
and marks the center of the rectangle with a dot.
6. Write for loop based Python code to do the following:
(a) Print out the multiples of 6 from 600 to 660 inclusive.
Note: The ﬁrst thing printed will be 600 and the last thing printed will be 660.
(b) Print the following output:
in 5 minutes.
2 minutes. 7. Write a Python graphics based program that requires the user to click on two points in its window,
thereby deﬁning a circle and one of its radii. The program then draws both the circle centered on the
ﬁrst point and the radius between the two points. 6 8. Trace the following Python code, i.e. indicate the state of the variables as they change and what output
is printed to the screen:
for i in...
View Full Document
This document was uploaded on 03/24/2014 for the course CMP 230 at Lehman College.
- Fall '13