if the numbers are presented in a list; list = (1,2,3,4,5,6,7,8.9,10) sum = 0 for i in list: sum+=1 print (sum)
確定! 回上一頁