前一篇文章中,我們學習了如何在Python 中撰寫流程控制的語法, ... sum = 0 num = 1 while num <= 100: sum += num num += 1 print(f'sum: {sum}').
確定! 回上一頁