Python Dictionary Obtener valor si existe la clave

val = dict.get(key , defVal)  # defVal is a default value if key does not exist 
Breakable Bee