turtle.circle() method in Python Last Updated : 20 Mar, 2025 Comments Improve Suggest changes Like Article Like Report The Turtle module in Python provides a fun and interactive way to introduce graphics programming. One of its key functions is turtle.circle(), which is used to draw circles (or parts of circles) and can even be used to create regular polygons by specifying the number of steps.Example: Drawing a simple circle Python import turtle # Create a turtle object t = turtle.Turtle() t.circle(80) # Complete the drawing turtle.done() OutputExplanation: t.circle(80) draws a smooth, full circle with a radius of 80.Syntax of turtle.circle()turtle.circle(radius, extent=None, steps=None)Parameters:radius (required): Positive for counterclockwise, negative for clockwise circles.extent (optional): Defines arc length in degrees; defaults to 360° (full circle).steps (optional): Specifies polygon sides instead of a smooth circle.Return value: This method does not return any value (returns None). It simply draws a circle or an arc based on the given parameters.Examples of turtle.circle()Example 1: Drawing a semicircle Python import turtle t = turtle.Turtle() t.circle(80, extent=180) turtle.done() Output :Explanation: t.circle(80, extent=180) creates a 180° arc, forming a semicircle.Example 2: Drawing a pentagon Python import turtle t = turtle.Turtle() # Draw a pentagon (5-sided polygon) using steps t.circle(80, steps=5) turtle.done() OutputExplanation: t.circle(80, steps=5) approximates a circle with a five-sided polygon.Example 3: Drawing multiple arcs in different directions Python import turtle t = turtle.Turtle() # Draw first arc in a clockwise direction t.circle(100, extent=180) # Move turtle to a new position t.penup() t.goto(150, 0) t.pendown() # Draw second arc in an anticlockwise direction t.circle(-100, extent=180) turtle.done() OutputMultiple ArcsExplanation: A 180° arc is drawn using t.circle(100, extent=180), then repositioned to draw another arc with t.circle(-100, extent=180), reversing direction for a clockwise effect. Comment More infoAdvertise with us Next Article turtle.circle() method in Python D deepanshu_rustagi Follow Improve Article Tags : Python Practice Tags : python Similar Reads turtle.color() method in Python turtle.color() method is a function of the turtle module in Python used to change the color of the turtleâs pen and fill. It allows us to customize the appearance of shapes drawn by the turtle by specifying colors using color names, RGB values, or hex codes.Syntaxturtle.color(*args)The *args allows 3 min read turtle.backward() method in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.backward() The turtle.backward() method is used to move the turtle backward 1 min read turtle.left() method in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.left() The turtle.left() method is used to change the direction of the turtl 2 min read turtle.down() method in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.down() The turtle.down() method is used to pull back the pen down on the scr 1 min read turtle.up() method in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.up() The turtle.up() method is used to pull the pen up from the screen. It g 1 min read turtle.pos() method in Python The Turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.pos() This method is used to find the turtle's current location (x, y), as a 2 min read Python - turtle.delay() method Turtle graphics is a popular way for introducing programming to kids. It was part of the original Logo programming language developed by Wally Feurzeig, Seymour Papert and Cynthia Solomon in 1967. The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented w 1 min read turtle.right() method in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.right() The turtle.right() method is used to change the direction of the tur 2 min read turtle.mode() function in Python The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.mode() This function is used to set turtle-mode ('standard', 'logo' or 'worl 1 min read turtle.forward() method in Python-Turtle The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. turtle.forward() The turtle.forward() method is used to move the turtle forward by 1 min read Like