Search code examples
pythonpython-3.xpython-turtle

Can you get user input with turtle.write?


I want to ask the user a question using turtle.write and get input. Is that possible?


Solution

  • according to the docs you can't get an input with turtle.write

    you could use turtle.textinput, ex:

    turtle.textinput('My app', 'What is your name?')