Python Refresher

Python in a Weekend - Lists

Make a list called fav_food with strings of your favorite foods. Print out all of the strings in the list.

Solution

                    fav_food = ['Pizza','Buffalo Wings','Shepherd\'s Pie','Oreos']

for food in fav_food:
  print(food)
                

Here's some courses you might like: