This is a 3-part question. Consider the following dictionary:
pets = {
'Cat': 'Meow',
'Dog': 'Bark',
'Bird': 'Tweet',
}
- Part 1: Write some code to print
Barkby accessing the element associated with the keyDog. - Part 2: Write some code to print
Nonewhen you try to print the value associated with the non-existent key,Lizard. - Part 3: Write some code to print
<silence>when you try to print the value associated with the non-existent key,Lizard.