Use a for loop to iterate from 1 to num. Inside the loop, add the num to the sum. At the end, print the value of the sum. Python Program ...
確定! 回上一頁