Python 提供一種簡易的串列產生方法,稱為「串列解析法」(List ... 註:Python 沒有do { . ... total = 0 i = 1 while i <= 10: total += i i += 1 print(total)
確定! 回上一頁