How can you avoid an infinite loop?
By using a for loop instead.
By setting the loop condition to True.
By providing a valid exit condition.
Infinite loops cannot be avoided.
This question is part of this quiz :