We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dict.setdefault
if key not in dict: dict[key] = ...