always use default value python code example Example: python default value d = {'a': 1, 'b': 2} print(d.get('c', 3)) # 3