3. Multiple Inputs

You can add as many inputs as you want. Python will stop executing at each of them, waiting for user input.

Example: Multiple inputs

name = input("Enter your name:")
print(f"Hello {name}")
fav1 = input("What is your favorite animal:")
fav2 = input("What is your favorite color:")
fav3 = input("What is your favorite number:")
print(f"Do you want a {fav2} {fav1} with {fav3} legs?")

Sample run:

Enter your name:Ada
Hello Ada
What is your favorite animal:dog
What is your favorite color:blue
What is your favorite number:4
Do you want a blue dog with 4 legs?