if equal to key return value python code example Example: if equal to key return value python # default param is optional dict.get(key, default = None)