Quiz 6 edhesive
The point D is located at ( ___ , ___ )
(8,7)
(Select all that apply) We use FOR loops instead of WHILE loops when:
You know how many times you want the loop to run. When there is a definite starting and ending point.
Consider the following command: canvas.draw_circle((A1, A2), B, C, D) Which represents the radius?
B
The point (3, 5) is
B
Consider the following command: canvas.draw_circle((A1, A2), B, C, D) Which represents the line color?
D
What is wrong with: canvas.draw_line( (300, 400), 5, "Yellow")
There is not a second point
What is returned by the code: range (20, 100, 30) ?
[20, 50, 80]
The point (5, 3) is
c
What function should be used to draw a box?
draw_polygon
Consider the following code: canvas.draw_polygon([(200, 200), (300, 200),(300, 300),(200, 300)], 3, "Black", "Gray") canvas.draw_circle((250, 250), 50, 3, "Black", "White") Which is the correct drawing?
square with dark background with white circle