Python Program to Get Input from User


-

-

Example:

Copied
print("Enter anything: ")
var = input()

print("\nEntered value: ", var)

Output:

Enter anything:
webisworld
Entered value: webisworld