Question: Determine the output displayed: total = 0 num = 1 while num < 5: total += num num += 1 print(total)
Determine the output displayed:
total = 0
num = 1
while num < 5:
total += num
num += 1
print(total)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
