About 489,000 results
Open links in new tab
  1. Turtle Programming in Python - GeeksforGeeks

    Jan 15, 2026 · Turtle is a Python module that provides a virtual drawing board where one can control a cursor (called a turtle) to draw shapes and patterns on the screen using simple commands.

  2. left(angle)lt(angle) Rotates the turtle counterclockwise by a given angle goto(x, y) Moves the turtle to a specific coordinate setx(x) Moves the turtle to a specific x-coordinate sety(y) Moves the turtle to a …

  3. turtle.write () function in Python - GeeksforGeeks

    Jul 15, 2025 · turtle module in Python provides a way to create graphics and animations using Tkinter. The turtle.write () method is used to display text at the turtle’s current position on the canvas. This …

  4. turtle.speed () function in Python - GeeksforGeeks

    Jul 15, 2025 · The turtle module in Python enables graphics and animations using Tkinter. It supports object-oriented and procedural approaches. The turtle.speed () method is used to control the speed …

  5. Creating Python Turtle Functions: A Beginner's Guide | PetShun

    Nov 13, 2024 · Learn to create Python Turtle functions with this beginner-friendly guide. Understand how to build and use functions to draw shapes and create animations with code examples.

  6. La fonction — Python Turtle 2020 documentation

    Cette indentation est un point important qui distingue Python d’autres langages de programmation. L’indentation te montre visuellement ce qui fait partie du corps de la fonction. Quand une expression …

  7. turtle.onclick () function in Python - GeeksforGeeks

    Aug 22, 2025 · turtle.onclick () function binds a function to mouse-click events on the turtle or canvas. When the user clicks, the specified function executes with the click’s (x, y) coordinates. Syntax : …

  8. User-defined functionsPython and Turtles

    Functions are one way to do this in Python. Let’s take turtle.reset() for example. reset is a function we call on our turtle, and it performs a number of steps: Erase the drawing board. Set the pen width and …

  9. Our Documentation | Python.org

    Advanced Python Packaging User Guide In-development Docs Guido’s Essays General PEP Index Python Videos Developer’s Guide Python 3.x Resources Browse Python 3.14.3 Documentation - …

  10. Python Functions (With Examples) - Programiz

    Python Functions A function is a block of code that performs a specific task. Suppose we need to create a program to make a circle and color it. We can create two functions to solve this problem: function …