Search
 
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
Name
6+5 =