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, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut off on an hev are both colored orange
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
question
Computers and Technology, 24.06.2019 17:40
Write an assembly language program to input a string from the user. your program should do these two things: 1. count and display the number of words in the user input string. 2. flip the case of each character from upper to lower or lower to upper. for example if the user types in: "hello there. how are you? " your output should be: the number of words in the input string is: 5 the output string is : hello there. how are you?
Answers: 2
You know the right answer?
What does the following program do?
import turtle
def main():
turtle. hideturtle...
Questions
question
History, 16.04.2020 21:34
Questions on the website: 13722361