Draw Spiraling Polygon using Turtle in Python Last Updated : 18 Aug, 2020 Summarize Suggest changes Share Like Article Like Report Prerequisite: Python Turtle Basic Turtle is an inbuilt module of python. It enables us to draw any drawing by a turtle, 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 Polygon of the given sides and of size n: Import turtle and create a turtle instance.Set sides = 5, sides of the polygon.Using for loop(i = 0 to i < n * sides) and repeat below stepturtle.forward(i * 10).turtle.right(360 / sides).Close the turtle instance. Below is the implementation: Python3 # importing turtle module import turtle # number of side sides=5 # size n = 7 # creating instance of turtle pen = turtle.Turtle() # loop to draw a side for i in range(n*sides): # drawing side of # length i*10 pen.forward(i * 10) # changing direction of pen # by 360/sides degree in clockwise pen.right(360 / sides) # closing the instance turtle.done() Output: Advertise with us Next Article Draw Spiraling Star using Turtle in Python I iamjpsonkar Follow Similar Reads 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 fu 1 min read Draw Spiraling Square using Turtle in Python Prerequisite: Python Turtle Basic Turtle is an inbuilt module of python. It enables us to draw any drawing by a turtle, 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 funct 1 min read Draw Spiraling Triangle using Turtle in Python Prerequisite: Python Turtle Basic Turtle is an inbuilt module of python. It enables us to draw any drawing by a turtle, 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 func 1 min read Draw sun using Turtle module in Python Prerequisite: Turtle Programming in Python In this article, let's learn how to draw the Sun using turtle in Python. Turtle is an inbuilt module in Python. It helps draw patterns by providing a screen and turtle (pen) as tools. To move the turtle as desired functions defined within the module like fo 1 min read Print a Spirograph using turtle in Python Pre-requisites: Turtle Programming in Python A spirograph is a very interesting geometrical figure which is often symmetrical to both the axes. It produces mathematical roulette curves of the variety technically known as hypotrochoids and epitrochoids. Here, we've used a range of colors to draw circ 1 min read Draw smiling face emoji using Turtle in Python Prerequisite: Python Turtle Basics Turtle is an inbuilt module in Python. It provides drawing using a screen (cardboard) and turtle (pen). To draw something on the screen, we need to move the turtle. To move turtle, there are some functions i.e forward(), backward(), etc. In this article, we will se 2 min read Article Tags : Python Python-turtle Practice Tags : python Like