1) the "except" semantics help hit home the point you expect the key to be there most of the time
2) in cases where the exception will rarely be raised, the "try ... except" route runs faster than the ".get() ... if" route.
1) the "except" semantics help hit home the point you expect the key to be there most of the time
2) in cases where the exception will rarely be raised, the "try ... except" route runs faster than the ".get() ... if" route.