注意了,你所說的一下程式碼是錯誤程式碼,注意改正!
tuple1=(1,3,5,8,10,7,0,12,4)max=tuple1[0]for each in tuple1: if each > max max =eachreturn max