+ 3
You forgot a camma pairs = { 1: "apple", "orange": [2, 3, 4], #here True: "False", 12: "True", } print(pairs.get("orange")) print(pairs.get(7, 42)) print(pairs.get(12345, "not found"))
14th Mar 2022, 12:19 PM
Jayakrishna 🇼🇳