can someone turn this into pseudo code plz i don’t understand
import turtle
...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 27.01.2020 19:31 alyssatamayo641
can someone turn this into pseudo code plz i don’t understand
import turtle
def main():
t = turtle. turtle()
speed = input(" fast or slow? ")
if(speed == "y"):
gofast(t)
else:
goslow(t)
def gofast(t):
t. speed(50)
def goslow(t):
t. speed(5)
color = input(" whats better red or yellow for red say r for yellow say y ")
if(color == "y"):
drawsquarer(t)
else:
drawsquare(t)
roofcolor = input(" what color you want your roof red or yellow? ")
if(roofcolor == "red"):
redroof(t)
else:
yellowroof(t)
def drawsquare(t):
# square color red
t. color("red")
for side in range(4):
t. forward(100)
t. left(90)
def drawsquarer(t):
# square color yellow
t. color("yellow")
for side in range(4):
t. forward(100)
t. left(90)
#drawroof color red
def redroof(t):
t. color("red")
t. penup()
t. setpos(0, 100)
t. pendown()
t. left(40)
t. forward(71)
t. right(85)
t. forward(71)
#drawroof color red
def yellowroof(t):
t. color("yellow")
t. penup()
t. setpos(0, 100)
t. pendown()
t. left(40)
t. forward(71)
t. right(85)
t. forward(71)
main()
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 21:00
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 09:10
to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 23:00
People should never use telepresence when virtually meeting with a group of co-workers. true false
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 13.10.2020 07:01
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 13.10.2020 07:01
![question](/tpl/images/cats/mat.png)
Mathematics, 13.10.2020 07:01
![question](/tpl/images/cats/mat.png)
Mathematics, 13.10.2020 07:01
![question](/tpl/images/cats/istoriya.png)
History, 13.10.2020 07:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 13.10.2020 07:01
![question](/tpl/images/cats/mat.png)
Mathematics, 13.10.2020 07:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 13.10.2020 07:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 13.10.2020 07:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 13.10.2020 07:01
![question](/tpl/images/cats/mat.png)
Mathematics, 13.10.2020 07:01