列表
name_list = [‘alex‘, ‘seven‘, ‘eric‘] 或 name_list = list([‘alex‘, ‘seven‘, ‘eric‘])
元组
ages = (11, 22, 33, 44, 55) 或 ages = tuple((11, 22, 33, 44, 55))
字典
person = {"name": "mr.wu", ‘age‘: 18} 或 person = dict({"name": "mr.wu", ‘age‘: 18})
标签:eric log bsp 列表 ict 元组 name pos lex
列表
name_list = [‘alex‘, ‘seven‘, ‘eric‘] 或 name_list = list([‘alex‘, ‘seven‘, ‘eric‘])
元组
ages = (11, 22, 33, 44, 55) 或 ages = tuple((11, 22, 33, 44, 55))
字典
person = {"name": "mr.wu", ‘age‘: 18} 或 person = dict({"name": "mr.wu", ‘age‘: 18})
标签:eric log bsp 列表 ict 元组 name pos lex
原文地址:https://www.cnblogs.com/rouge2017/p/8279274.html