直接打印listlist1 = [1,2,3,4,5,6,7,8,9,10]print (list1)简单的for循环可以打印出list的内容for x in list1: print(x)若想得到以空格为分隔符的输出 ...
確定! 回上一頁