def f2(): i = 1 sum = 0 while i <= 100: sum += i i += 1 return sum a = f2() print(a) print(type(a)) #《程式語言教學誌》的範例程式# http://kaiching.org/ # 檔 ...
確定! 回上一頁