...

/

Solution: Favorite Things

Solution: Favorite Things

We'll cover the following...

This program uses a for loop to go through a list of favorite activities and print each one in a sentence.

C++
favorites = ["reading", "coding", "travel"]
for item in favorites:
print("One of my favorite things is", item)
...