r/Python • • Sep 13 '19

I made a python drawing

2.9k Upvotes

139 comments sorted by

View all comments

32

u/maelinya Sep 13 '19

Wait this reminds me of that educational programming language from like the 90s with the turtle cursor. Did y'all ever use that? I've got such a dim memory of it.

6

u/__xor__ (self, other): Sep 14 '19

YES

Go to repl.it, click New Repl, select "Python (with Turtle)", click "Create REPL", then run this:

import turtle

t = turtle.Turtle()
t.color('white')
t.left(180)
t.forward(200)
t.left(90)
t.forward(200)
t.right(90)
t.color('red')

for i in range(360):
    t.forward(6.66)
    t.right(1)

t.right(108)

for i in range(5):
    t.forward(723)
    t.left(144)