This is KEY


#1



I got the correct response, but is there a way to print all under one bracket instead of listing all individually?


ebster = {
	"Aardvark" : "A star of a popular children's cartoon show.",
    "Baa" : "The sound a goat makes.",
    "Carpet": "Goes on the floor.",
    "Dab": "A small amount."
}

# Add your code below!
for key in webster:
    print webster["Aardvark"]
    print webster["Baa"]
    print webster["Carpet"]
    print webster["Dab"]


#2

Yes, and you have it started:

    print webster[key]

or possibly,

    print key, webster[key]

#3

I see! Extremely helpful. Thank you.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.