QP School

Full Version: input() function in Python 3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
# In Python 3, input() returns a string
name = input("Enter your name: ")
print("Hello, " + name)