# Get the value associated with the 'country' key using get() with a default value country = my_dict.get('country', 'Not specified') print('Country:', country)