DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
accept user input in python
text = raw_input("prompt") # Python 2 text = input("prompt") # Python 3
Source by w3programmers.org #
PREVIOUS
NEXT
Tagged:
#accept
#user
#input
#python
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit