๐Ÿ PyQuest๐Ÿ•น๏ธ Challenge Arcade ยท โญ Favourites List
โญ 0 XP๐Ÿ Python is waking upโ€ฆ

Favourites List โญ

A list holds lots of things in one variable, in square brackets:

snacks = ["popcorn", "mango", "cookies"]

for snack in snacks:
    print(snack)

That loop reads like English: for each snack in snacks, print the snack. Python hands you one item at a time, all by itself. ๐ŸŽ

Your mission

  1. Make a list of 5 favourite things โ€” songs, foods, animals, YouTubers, whatever you love
  2. Loop over it and print each one on its own line

Bonus points for the weirdest list. ๐Ÿฆ–

Your code

Press โ–ถ Run to see what your code does!