subject

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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
What is a rush associated with alcohol?
Answers: 1
question
Computers and Technology, 22.06.2019 16:30
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
question
Computers and Technology, 23.06.2019 01:30
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
You know the right answer?
What does the following program do?
import turtle
def main():
turtle. hideturtle...
Questions
question
Mathematics, 04.02.2021 18:10
question
Mathematics, 04.02.2021 18:10
question
English, 04.02.2021 18:10
question
Mathematics, 04.02.2021 18:10
question
Mathematics, 04.02.2021 18:10
question
Mathematics, 04.02.2021 18:10
Questions on the website: 13722363