Coding task · Python course · Module 2: Data Structures

Accessing Data

Extract a value from a dictionary

Task

Print the name of the animal from the dictionary animal = {'name': 'Python', 'length': 5}