Infinite loop
- Sprouting
- c.
In programming, an infinite loop is created when a sequence has one or more of the following attributes:
- no termination condition
- a termination condition that can never be met
- a termination condition causing the loop to restart
Example
A “while loop” where its condition is always met and has no termination condition.
while True: pass