n=int(input()) #n值設定ex.n=3 s=""#字串設定t=0#迴圈運算使用for i in range (1,n+1):#設定參數1-n+1範圍if i!=n:#如果i值不等於n,ex:i=1or2 s=s+str(i)+"+"#那麼 ...
確定! 回上一頁