Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python getting input from

# Python 3

txt = input("Type something to test this out: ")

# Note that in version 3, the print() function
# requires the use of parenthesis.
print("Is this what you just said? ", txt)
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #python #input
ADD COMMENT
Topic
Name
4+9 =