Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
hackingmath committed Mar 15, 2018
1 parent f46c4bd commit 8b3d4b7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions wander.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#wander.py

from turtle import *
from random import randint

speed(0)

def wander():
while True:
forward(3)
if xcor() >= 200 or xcor() <= -200 or ycor() <=-200 or ycor()>=200:
left(randint(90,180))

wander()

0 comments on commit 8b3d4b7

Please sign in to comment.