Ask coding questions

← Back to all posts
got error did what qazi told
Awar (0)

import turtle
a= 5
print(a)
b = "hello world"
print(b)

credit_card = 342139995534830

print(credit_card)

def Square():
qazi_turtle=turtle.Turtle()
qazi_turtle.forward(100)
qazi_turtle.right(90)
qazi_turtle.forward(100)
qazi_turtle.right(90)
qazi_turtle.forward(100)
qazi_turtle.right(90)
qazi_turtle.forward(100)

Square()

for count in range(4):
Square()

Commentshotnewtop
AlexanderTarn (270)

use python with turtle not python

Geocube101 (599)

No $DISPLAY environment variable
Copy your code and paste it into a python with turtle repl