Get user input in Python

Example 1:

my_name = "Dmitri"
your_name = input("Enter your name: ")

print(f"Hello {your_name}. My name is {my_name}")
Example 2:
age = int(input("Enter your age: "))
print(f"You have lived for {age * 12} months")