News
set the total to 0 set more numbers to ‘yes’ while more ... at the end of the loop is ‘No’, ie it will continue to iterate WHILE there are more numbers to add. A condition-controlled ...
We need to have at least one condition to implement the loop and make sure we don't ... value = 1 # we start the calculation from 1 while value <= 10: total = total + value value = value + 1 print ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results