点击运行
#!/usr/bin/python3 list = [] ## 空列表 list.append('Google') ## 使用 append() 添加元素 list.append('Jiyik') print (list)
运行结果 :
正在执行...