Search This Blog

Turtle's random walk - Python

How to let turtle making random movements in the East, North, South, or West in Python?




Rules for Python's Turtle:

1. Each time it moves in a random direction.

2. In each direction it chooses a random color 

3. Each time line's thickness increases

4. Each time it covers the same distance

5. Walks on screen in its fastest mode


Solution:

No comments:

Post a Comment