0 of 1 Questions completed
Questions:
You have already completed the practice exercise before. Hence you can not start it again.
Practice Exercise is loading…
You must sign in or sign up to start the practice exercise.
You must first complete the following:
0 of 1 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Question: Create a program that asks the user to input their favorite song. You should save their response as a variable. After pressing enter, the user should see the following printed in the output: “_____ is your favorite song.” Check out the GIF below to see what your output should look like:
favorite_song = input(“What is your favorite song?”)
print( )
HINT #1: Don’t remember how to ask the user for an input? Check the input() function template on the last page of your Python Cheat Sheet for some help! HINT #2: Don’t remember how to print content onto the webpage? Check the print() function template on the last page of your Python Cheat Sheet for some help!