#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2020/2/12 16:08
# @Author  : Baimohan/PH
# @Site    : https://github.com/BaiMoHan
# @File    : clear_test.py
# @Software: PyCharm
cars = {'BMW': 8.5, 'BENS': 8.3, 'AUDI': 7.9}
print(cars)
# 清空key-value
cars.clear()
print(cars)
# print(cars['BMW']) ERROR
