title: how to use the turtle.reset() function without a function
body: <p>I don't know how to show the code in short terms, but I can give it a try. I am wondering how to get the turtle.reset() to work when the turtle was created in a function:</p>
  
  <pre><code>def scissors(x,y):
    scissors = turtle.Turtle()
  
    scissors.speed(0)
    scissors.color("maroon")
    scissors.fillcolor("red")
  </code></pre>
  
  <p>It goes on with code for rock paper and scissors
  then:</p>
  
  <pre><code>while choice == "yes" or choice == "Yes":
     if:
       (some other stuff)
     elif:
  </code></pre>
  
  <p>so on and so on, but at the end I would like to reset and I do:</p>
  
  <pre><code>  rock.reset()
    paper.reset()
    scissors.reset()
  </code></pre>
  
  <p>and after going through everything in the if else statements, when it reaches the reset function it returns:</p>
  
  <pre><code>AttributeError: 'function' object has no attribute 'reset' on line 318
  </code></pre>
  
  <p>Please help me(if needed link to project below)</p>
  
  <p><a href="https://repl.it/@WeirdDragon/RPS#main.py" rel="nofollow noreferrer">https://repl.it/@WeirdDragon/RPS#main.py</a></p>