WeCodeAcademy
❮ list.copy()dict.keys() ❯

dict.get()

A value, or a default if missing.

Group: Dictionary

Syntax

d.get(key, default)

Example

Examplepython
Open in editor »

← All of Python Reference