About 50 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 function …

  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 = turtle.Turtle() def plo...

  3. Repeating functions with python turtle - Stack Overflow

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

  4. I'm not able to remove the arrow in python turtle while trying draw a ...

    Sep 18, 2024 · 2 Your first problem is import turtle, which tempts you to call turtle. functions on the top-level module. turtle. functions like .getscreen() and .hideturtle(), auto-instantate a default turtle, …

  5. 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 module) which …

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

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

  7. python - Is there another type of function that can replace turtle.goto ...

    May 19, 2021 · **the code below uses 6 functions and approximantly every function uses t. goto is there any other function I can use to replace it? (similar functions that give the same output)**strong text** -...

  8. Running two functions at the same time in Python Turtle?

    Nov 16, 2021 · 1 Borrowing all the code from Multithreading With Python Turtle, this appears to "work" for getting both functions to run at the same time. If so, this is likely better a duplicate of linked answer.

  9. python - Using turtle module exitonclick () to move between different ...

    Your code works ok in Python 2.6 (using raw_input instead of input), but not on Python 3.6.

  10. python - What does turtle.Screen () actually do? - Stack Overflow

    Jul 30, 2022 · Turtle can be used standalone (self contained program) via Turtle and Screen but it also can be used embedded in a tkinter program using RawTurtle and TurtleScreen. When embedded, …