penny12
penny12

Reputation: 57

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?

Upvotes: 3

Views: 84

Answers (1)

kederrac
kederrac

Reputation: 17322

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?')

Upvotes: 2

Related Questions