-
dict字典
a. 定义
A dictionary is a collection which is unordered, changeable and indexed. In Python dictionaries are written with curly brackets, and they have keys and values.
b. 创建 字典的方法
{index:value,} -
集合
a… 特性
无序,不重复,逻辑
b 创建
{’’,’’,’’} -
判断语句(要求掌握多条件判断)
if else(会) -
三目表达式
. 循环语句
for loop; while loop (我已经会)