如果在外層使用while 迴圈,就可以不斷輸入數字並計算加總結果。 while output!=0: # 使用while 迴圈,如果output 等於0 才會停止 a = input('請輸入數字( 格式a,b,c.
確定! 回上一頁