5. What is an algorithm ?
5. What is an algorithm ? Read More »
Endless loops are loops which don’t terminate for the condition never becomes False. They occur because the variable in the condition is not being updated correctly. e.g. k = 5 while K > 0: # variable is not being updated pass while k > 0: # variable is being updated incorrectly in the opposite direction
19. What are endless loops ? Why do such loops occur ? Read More »