3

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

kederrac
  • 15,339
  • 4
  • 25
  • 45
penny12
  • 57
  • 4

1 Answers1

2

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?')
kederrac
  • 15,339
  • 4
  • 25
  • 45