Getting Input from User in Python
In this tutorial, we will see how to take input from user in Python programming language. We use input() function in Python to get user input.
Get String input from user
In this program we will see how to receive string input from user in Python.
# Python Program - Get String Input from User
str = input("Enter any string: ")
print(str)
Output
Enter any string: Noidatut
Noidatut
Leave Comment