Your code will look like this: days = 100 total = 0 for i in range(days): total += i+1 return total. You can simply use range() in Python ...
確定! 回上一頁