This is KEY


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"]


Yes, and you have it started:

    print webster[key]

or possibly,

    print key, webster[key]


I see! Extremely helpful. Thank you.


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