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.

23

u/jck Sep 13 '19

LOGO. it was amazing

7

u/maelinya Sep 13 '19

It was indeed! I made a playable Who Wants to be a Millionaire with it.

3

u/[deleted] Sep 13 '19

Created by Simon Papat

11

u/[deleted] Sep 13 '19

I believe that was drawn using the python turtle graphics package which is based on logo.

10

u/[deleted] Sep 13 '19

It was with turtle

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)

3

u/lozy9604 Sep 13 '19

Yo that's the first programming experience for me back in 7th grade

2

u/sack_of_dicks Sep 13 '19

LOGO was my first taste of 'programming' back when I was a little kid. When I got my first 'real' software development job my mom framed the output from a LOGO program I did in elementary school that she had saved all these years. It even has my signature and the title "Perfume Bottle" in my kid handwriting at the bottom. It now lives on the desk at my home office.