t_run_01.py

Created by vef03715

Created on March 08, 2021

355 Bytes


from turtle import *
from time import *

def t_run_01():
  P=5
  X=0
  Y=50
  L=70
  S=5
  reset()
  hideturtle()
  speed(P)
  penup()
  goto(X+L,Y+L)
  right(90)
  
  for j in range(100):
    showturtle()
    for i in range(4):
      forward(L*2)
      right(90)
    sleep(S)
    
  penup()
  hideturtle()
  goto(-100,-100)
  write("END")