Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Ask a user for input python

print ('Hello, what is your name?')
name = input()
print ('Hello', name)
# Asks user for their name. User inputs their name. Hello <name> is printed to the screen.
 
PREVIOUS NEXT
Tagged: #Ask #user #input #python
ADD COMMENT
Topic
Name
2+9 =