将其转换成列表,如下所示: print(list(number)) 得到: ['1', '2', '3', '4', '5'] 显然,我们想得到是:[1,2,3,4,5],这种以数字形式排列的列表 ...
確定! 回上一頁