...

/

Solution: Teach Your Code to Remember Lots of Things!

Solution: Teach Your Code to Remember Lots of Things!

We'll cover the following...

This program stores information about you in a dictionary and then prints each piece of information neatly.

me = {
"name": "Your Name",
"hobby": "Something fun",
"language": "Python"
}
for key, value in me.items():
print(key, ": ", value) # Or use key.title() to make it look nicer
    ...