Python 列表操作:添加元素并输出 - 编程练习题
list1 = [1, 5, 9, 67, 4, 44, 99] for i in range(2): a = int(input()) list1.append(a) for i in list1: print(i, end = " ")
原文地址: http://www.cveoy.top/t/topic/pKra 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
list1 = [1, 5, 9, 67, 4, 44, 99] for i in range(2): a = int(input()) list1.append(a) for i in list1: print(i, end = " ")
原文地址: http://www.cveoy.top/t/topic/pKra 著作权归作者所有。请勿转载和采集!