We use dict.get(key) instead of dict[key] because It allows you to provide a default value if the key is missing:-
dictionary.get("bogus", default_value)
The above code returns default_value (whatever you choose it to be).
Whereas when you use dict[key]:-
dictionary["bogus"]
It would raise a KeyError.
To know more about this you can have a look at the following video tutorial:-