✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Consider:
current = 1
total = 0
while current <= 7:
if current % 2 != 0:
total = total + current
current = current + 1
print("Total:", total)
Complete the table. Record total at the end of the iteration that processes the stated value of current. [2 marks]
Value of current being processed | total at the end of that iteration |
| 3 | |
| 4 | |
| 5 | |
| 7 |