There was an error while loading. Please reload this page.
1 parent 1e5578a commit 7d1fa6eCopy full SHA for 7d1fa6e
1 file changed
Level_03/dictionaries.py
@@ -16,6 +16,8 @@
16
# Auf einen value wird mit Hilfe des keys zu-
17
# gegriffen:
18
print(dictionary["Eins"])
19
+# dictionary["nicht da"]: schlägt fehl
20
+dictionary.get("nicht da")
21
22
# Ein neues Key-Value-Paar wird erstellt,
23
# indem auf ein nicht-existierenden value zu-
0 commit comments