Up until now, you have been the one writing all the data into the code. But real-world apps like Instagram or Netflix need to listen to the user. In Python, we use the input() function to pause the program and wait for the user to type something. This is the "Ear" of your program.
The input() function always captures information as a String. When you write name = input("What is your name? "), Python displays the question, catches the user's answer, and stores it inside the variable name.
Write a program that asks the user for their favorite color. Then, make the computer reply with a message like: "OH! [COLOR] IS MY FAVORITE TOO!" using the string concatenation you learned in Level 4.
I'M AN INTERACTION EXPERT! GO TO LEVEL 6 ➔