get or default for getting a default value if the key doesn't exist in the dictionary
java:
dic.getOrDefault(key, "default value");
python:
dic.get(key, "default value")
swift:
dic[key, default: "default value"]
java:
dic.getOrDefault(key, "default value");
python:
dic.get(key, "default value")
swift:
dic[key, default: "default value"]