Challenge: Teach Your Code to Remember Lots of Things!

Create a dictionary to store information about yourself, then use a loop to print everything it contains.

Your task:

  • Create a dictionary called me

  • Include keys like "name", "hobby", and "language"

  • Add at least two more details (your choice)

  • Use a for loop to print each key and its value

Example output (yours can differ):

name: Alex
hobby: drawing
language: Python

💡 Hint: Dictionaries store data as key → value pairs, and you can loop through them using .items().

Challenge: Teach Your Code to Remember Lots of Things!

Create a dictionary to store information about yourself, then use a loop to print everything it contains.

Your task:

  • Create a dictionary called me

  • Include keys like "name", "hobby", and "language"

  • Add at least two more details (your choice)

  • Use a for loop to print each key and its value

Example output (yours can differ):

name: Alex
hobby: drawing
language: Python

💡 Hint: Dictionaries store data as key → value pairs, and you can loop through them using .items().

Python
# Write your code here.