turtle.textinput(title, prompt)
Parameters: |
|
---|
Pop up a dialog window for input of a string. Parameter title is the title of the dialog window, propmt is a text mostly describing what information to input. Return the string input. If the dialog is canceled, return None.
>>> screen.textinput("NIM", "Name of first player:")
Please login to continue.