Format
There really is no hope of making this code even half-way decent without spending the time to rewrite them all properly. Don't want to do any of that
This commit is contained in:
@@ -2,17 +2,19 @@ import turtle
|
||||
|
||||
import time
|
||||
|
||||
turtle.setup(500,500)
|
||||
turtle.setup(500, 500)
|
||||
turtle.speed(0)
|
||||
turtle.width(4)
|
||||
|
||||
|
||||
def quadrat():
|
||||
for i in range(4):
|
||||
turtle.fd(100)
|
||||
turtle.rt(90)
|
||||
|
||||
|
||||
|
||||
turtle.pu()
|
||||
turtle.setpos(-350,-50)
|
||||
turtle.setpos(-350, -50)
|
||||
turtle.pd()
|
||||
|
||||
turtle.ht()
|
||||
@@ -24,4 +26,3 @@ while True:
|
||||
turtle.fd(1)
|
||||
time.sleep(0.01)
|
||||
turtle.update()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user