Skip to content

Commit ba82132

Browse files
committed
turtle setup code
1 parent 43ec458 commit ba82132

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

main.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ def main():
1313
""" Main program function, Draws silhouette"""
1414
charles = turtle.Turtle()
1515
screen = charles.screen
16+
charles.penup()
17+
charles.goto(-screen.window_width() / 2, -screen.window_height() / 2)
18+
charles.setheading(0)
19+
charles.pendown()
20+
charles.speed(100)
21+
22+
turtle.done()
1623

1724

1825
if __name__ == "__main__":

0 commit comments

Comments
 (0)