About 45,000 results
Open links in new tab
  1. python - creating turtles with functions - Stack Overflow

    Nov 17, 2021 · First, calling turtle.Turtle() implies you did import turtle which will be undone by you defining a function named turtle. That is, Python will look for Turtle() as a property of your …

  2. How to use Python turtle to plot a function - Stack Overflow

    Sep 22, 2017 · I am trying to create a python script that will allow me use turtle to plot a function like y = 0.5x + 3. How can this be done? My current approach is: import turtle ivy = …

  3. Repeating functions with python turtle - Stack Overflow

    Aug 30, 2018 · Repeating functions with python turtle Asked 7 years, 3 months ago Modified 7 years, 3 months ago Viewed 3k times

  4. How to move turtles in Python 3 with arrow keys - Stack Overflow

    Apr 18, 2017 · Now that the turtle graphics are listening for key presses, how will you tell the program to do something through key presses? Functions! Let's say you want a new turtle to …

  5. Newest 'python-turtle' Questions - Stack Overflow

    6 days ago · When trying to write different functions with the turtle module in Thonny, my screen froze. I've been trying to find out why, but haven't had any luck with it. It's a simple code, so I'm …

  6. python - Turtle Graphics with Recursion - Stack Overflow

    Oct 4, 2017 · I need to draw a shape using recursion and turtle graphics. I'm more of a looper and rarely ever use recursion, so some help here with this would be nice. Not even sure where to …

  7. python - turtle graphics: How do I implement a pause function?

    Mar 29, 2020 · Turtle graphics is based on tkinter, which is an event-driven GUI framework, so you can't do things like you would in a regular procedurally-driven program — see @Bryan …

  8. Use onkey () to do multiple functions with Python turtle

    Nov 11, 2017 · Use onkey () to do multiple functions with Python turtle Asked 8 years ago Modified 8 months ago Viewed 3k times

  9. Python Turtle : Handling two successive screens for two successive ...

    May 21, 2024 · I'm new to Python and trying out Turtle through Tutorials. This question turned out to be verbose, my bad. I have designed 2 Games handled by 2 Functions (in a separate …

  10. Python turtle: trigger function on any key pressed

    Apr 11, 2021 · Python turtle: trigger function on any key pressed Asked 4 years, 7 months ago Modified 2 years, 9 months ago Viewed 3k times