Ask coding questions

← Back to all posts
how do you fill in a shape(square in this case)
JohnnyAnnett (0)

i tried to do it but it doesnt work

Comments
hotnewtop
AlexanderTarn (280)
import turtle
turtle.begin_fill()
turtle.forward (150) 
turtle.right (90)
turtle.forward (80) 
turtle.right (90) 
turtle.forward (150) 
turtle.right (90) 
turtle.forward (80)
turtle.end_fill()

make sure to press the checkmark if this answer fixes your problem!