QP School
QP School
>
Tutorials
>
Python 3 Tutorials and examples
> input() function in Python 3
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.
Qomplainerz
07-25-2023, 10:37 AM
# In Python 3, input() returns a string
name = input("Enter your name: ")
print("Hello, " + name)
QP School
>
Tutorials
>
Python 3 Tutorials and examples
> input() function in Python 3