Question: find 5 bugs or errors in this code then write the correct answer # Initializition sports = [] # Ask user to enter favorite sport

find 5 bugs or errors in this code then write the correct answer find 5 bugs or errors in this code then write the correct

\# Initializition sports = [] \# Ask user to enter favorite sport while True sport = input("Enter a favorite sport (or ' q ' to quit):" if sport = ' q ' break sports.append(sport) \# Print output print("Your favorite sports are:") for sport in sports: print(sport)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!