Turtle Graphics

Turtle Graphics

In this assignment we used the turtle module to create a graphics design.

turtle-2

Code

turtle-0

Code when run. #1

turtle-4

Code when halfway through the run. #2

turtle-1

Code when finished Running. #3

I was able finish the code successful. There were some difficulties I faced. First, I forgot to use the parentheses. Then, I forgot to use colon mark. But, after resolving the difficulties the code was able to run fine. I experiment with the random angles within 0 to 45 and different distance within 0 to 150 pixels. I used 50,100, and 150 for the distance and 25, 35, and 45 for the angles. I got the results I desired.

By: Simran Sandhu