Complete the code to create a dictionary that stores a person's age.
person_age = {'Alice': [1]The value for 'Alice' should be the number 25, not a string or variable name.
Complete the code to check if 'Bob' is in the dictionary keys.
if [1] in person_age:
Dictionary keys are strings here, so 'Bob' must be in quotes.
Fix the error in the code to add a new key-value pair to the dictionary.
person_age[[1]] = 30
The key must be a string 'Charlie' to add a new person.
Fill both blanks to create a dictionary comprehension that maps names to ages for people older than 20.
{ [1]: [2][[1]] for [1] in [2] if [2][[1]] > 20 }Use 'name' as the key and 'people' to get the age value in the comprehension.
Fill all three blanks to create a dictionary comprehension that stores uppercase names as keys and ages as values for people aged 18 or older.
{ [1]: [2] for [3] in people if people[[3]] >= 18 }Use 'name.upper()' for keys, 'people[name]' for values, and 'name' as the loop variable.