W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
fruit = {"name": "apple", "color": "red"} print(fruit["price"]) # 尝试访问不存在的键 "price"