# Define a dictionary
student = {
'age': 25,
'course': 'Computer Science',
}
# Attempt to get the value associated with the 'name' key..
# and handle a KeyError if it doesn't exist
try:
name = student['name']
print(f"Name: {name}")
except KeyError:
print("Key 'name' does not exist.")