# coding=utf-8
# 标准数据类型 Numbers(数字)、String(字符串)、List(列表)、Tuple(元组)、Dictionary(字典)
age = 18
name = "tom"
# 列表
speaking = ["chs", "eng"]
# 元组 无法新增、删除
someone = ("tall", "rich", "hot")
# 字典
clothes = {"top": "vans", "bottom": "adidas"}
print age
print name
print speaking
print someone
print clothes
# 列表操作
speaking.append("cht")
speaking.remove("chs")
speaking += ["french", "russian"]
len(speaking) # 统计列表、元组、字典长度
speaking.count("eng") # 统计元素在列表、元组中的数量
08-07
08-07