ChatGPT with GPT-3 Will Be Able to Draw a Turtle with Python Turtle by End of June 2024
Basic
3
Ṁ385Jul 1
6%
chance
1D
1W
1M
ALL
Prompt:
Can you draw a Turtile using Python Turtle?
Result:
import turtle
# create a turtle object
t = turtle.Turtle()
# draw the turtle's shell
t.penup()
t.goto(0, 100)
t.pendown()
t.fillcolor('green')
t.begin_fill()
for i in range(4):
t.forward(100)
t.right(90)
t.end_fill()
# draw the turtle's head
t.penup()
t.goto(0, 200)
t.pendown()
t.fillcolor('yellow')
t.begin_fill()
t.circle(50)
t.end_fill()
# draw the turtle's legs
for i in range(4):
t.penup()
t.goto(i * 30 - 45, 70)
t.pendown()
t.right(45)
t.forward(50)
t.backward(50)
t.left(90)
t.forward(50)
t.backward(50)
t.right(45)
# hide the turtle cursor
t.hideturtle()
# keep the window open
turtle.done()
Other Breaking LLM Markets:
This question is managed and resolved by Manifold.
Get
1,000
and3.00