Computers and Technology

What does the following program do?
import turtle
def main():
turtle. hideturtle()
square(100,0,50,'blue')
def square(x, y, width, color):
turtle. penup()
turtle. goto(x, y)
turtle. fillcolor(color)
turtle. pendown()
turtle. begin_fill()
for count in range(2):
turtle. forward(width)
turtle. left(90)
turtle. end_fill()
main()
it draws 2 blue lines.
a) it draws a blue square at coordinates (100, 0), 50 pixels wide, starting at the top right. b) it draws a blue square at coordinates (0, 50), 100 pixels wide, starting at the top right. c) it draws a blue square at coordinates (100, 0), 50 pixels wide, in the lower-left corner. d) nothing since you cannot call a function with turtle graphics corner

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:50, Isaiahtate053
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
image
Computers and Technology, 22.06.2019 11:00, lexhorton2002
The great length of north america causes the climate to be varied. true false
Answers: 2
image
Computers and Technology, 22.06.2019 13:00, mariahrpoulin9630
Which part of the cpu accepts data?
Answers: 1
image
Computers and Technology, 22.06.2019 20:50, ashiteru123
What is the difference between windows 7 and windows 10?
Answers: 1
Do you know the correct answer?
What does the following program do?
import turtle
def main():
turtle. hideturtle...

Questions in other subjects:

Konu
Mathematics, 26.02.2021 17:00
Konu
Mathematics, 26.02.2021 17:00