ways of taking input in python code example
Example 1: python input
# The function 'input()' asks the user for input
myName = input()
Example 2: input in python
age = input("Your age: ")
print("Your age is: " + age)
# defines input as a string and prints it out