Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python 2.7 get user input

# Python 2

txt = raw_input("Type something to test this out: ")
print "Is this what you just said?", txt
 
PREVIOUS NEXT
Tagged: #python #user #input
ADD COMMENT
Topic
Name
1+5 =