Question: What will happen if you use a while loop and forget to include logic that eventually causes the while loop to stop?
- Nothing will happen; your computer knows when to stop running the code in the while loop.
- You will get a KeyError.
- Your code will get stuck in an infinite loop.
- You will get a WhileLoopError.
Answer: The correct answer of the above question is Option C:Your code will get stuck in an infinite loop.