About 73,700 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. Newest 'python-turtle' Questions - Stack Overflow

    1answer 51views Im having problems running 2 functions at the same time [duplicate] Im a coding beginner who just got into python turtle. I have recently been working on a project where you …

  4. Repeating functions with python turtle - Stack Overflow

    Aug 30, 2018 · I wish to know way to make loop of function to recreate the same shape/pattern(google photo logo) with a different rotation and position and different variables …

  5. Is there a way to mirror a python function? - Stack Overflow

    Feb 13, 2021 · In the mirror function, define a dictionary of turtle commands, actions, that would be used to mirror with. Iterate through the yielded turtle actions from the function passed into …

  6. python - difference between turtle.Turtle () and x = turtle.Turtle ...

    Oct 18, 2017 · In short, turtle.Turtle() is the constructor method of the class Turtle; it returns an instance of the class. If you don't assign the output to a variable, it basically creates an …

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

    Feb 14, 2024 · 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 …

  8. 'If' statement In python turtle - Stack Overflow

    Oct 3, 2017 · I am trying to figure out is how to make an if statement a.circle(b*(36-[(if p =3 (p*3), -i*36) What I want is if the P value is three or greater it causes the circle to subtract p3 from 36 …

  9. How can I start 2 function (turtle) at same time (PYTHON)

    Oct 30, 2016 · I just give a simple example but i want I want to understand it logic. For example how " I'm going to start the two together at the same time? ". Thanks for answers.. import turtle …

  10. python - Understanding Turtle Graphics Listen and Exitonclick …

    Aug 9, 2023 · I want to understand precisely the functioning of those two functions I am just starting to learn Python through some online courses, and an exercise required the use of the …

Refresh