Share

Turtle.retard

Public

15 September 2017

Views: 7

import turtle
import random

colors = ["red","green","blue","orange","purple","pink","yellow"]
turtle.shape("turtle")
rahmengroesse = 500
zl = rahmengroesse/2
turtle.bgcolor('black')
turtle.speed(1000)

for i in range(999):
bg = random.choice(colors)
turtle.bgcolor(bg)
color = random.choice(colors)
turtle.color(color)
turtle.penup()
x = random.randrange( - zl,zl)
y = random.randrange( - zl,zl)
turtle.setpos(x,y)
turtle.stamp()

Advertisement

Disable Third Party Ads