Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 943
penny12 Avatar asked Jul 23 '26 19:07

penny12


1 Answers

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?')
like image 112
kederrac Avatar answered Jul 26 '26 10:07

kederrac



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!