python中创建空列表 使用方括号 如: num = [] 将元素添加到空列表 >>> num = [] >>> for i in range(3, 15, 2): num.append(i) 验证: >>> num