Draw Spiraling Square using Turtle in Python Last Updated : 18 Aug, 2020 Comments Improve Suggest changes 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 Square of size n: Import turtle and create a turtle instance.Using for loop(i = 0 to i < n * 4) and repeat below stepturtle.forward(i * 10).turtle.right(90).Close the turtle instance. Below is the implementation: Python3 # importing turtle module import turtle # size n = 10 # creating instance of turtle pen = turtle.Turtle() # loop to draw a side for i in range(n * 4): # drawing side of # length i*10 pen.forward(i * 10) # changing direction of pen # by 90 degree in clockwise pen.right(90) # closing the instance turtle.done() Output: Comment More infoAdvertise with us Next Article Draw Spiraling Square using Turtle in Python I iamjpsonkar Follow Improve Article Tags : Python Python-turtle Practice Tags : python 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 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 Spiraling Polygon 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 Square and Rectangle in Turtle - Python The task of drawing basic geometric shapes, such as squares and rectangles, can be accomplished using Python's Turtle graphics library. Turtle graphics enables us to create shapes and patterns by controlling a "turtle" on the screen. Using simple commands like forward(), backward(), and others, we c 5 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 Like