Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. T

    Python python turtle graphics window not responding

    Yes. Putting the listen command inside the while loop doesn't work. It doesn't seem the turtle module on python doesn't like while loops with events. I found someone having the same problem here and while trying things I found out that if you put something that has to do with the screen the...
  2. T

    Python python turtle graphics window not responding

    import turtle player=turtle.Turtle() def space(): print("spacebar pressed") turtle.onkeypress(space, "space") turtle.listen() import turtle player=turtle.Turtle() def space(): print("spacebar pressed") turtle.onkeypress(space, "space") turtle.listen() while True: a=1 When I have no...
  3. T

    Python I'm trying to add a square root feature to a calculator I made, but I keep getting errors.

    you would need to do print(math.sqrt(number1)) I think. There was no error because everything was working you just weren't printing the answer.
Back
Top Bottom