源代码
car = { "brand": "Porsche", "model": "911", "year": 1963 } x = car.get("price", 15000) print(x)
运行结果