Draw Spiraling Star using Turtle in Python
Prerequisite: Python Turtle Basics
Turtle is an inbuilt module of python. It enables us to draw any drawing by a turtle and methods defined in the turtle module and by using some logical loops. To draw something on the screen(cardboard) just move the turtle(pen).To move turtle(pen) there are some functions i.e forward(), backward(), etc
Approach to draw a Spiraling Star of size n:
- import turtle and create a turtle instance.
- Using for loop(i=0 to i<n) and repeat below step
- close the turtle instance.
My Personal Notes arrow_drop_up
Please Login to comment...