Syntax error How we can come out of an infinite loop in Python?

How we can come out of an infinite loop in Python?



A loop is said to be an infinite loop when it doesn't stop on its own. It needs to be forcibly stopped by pressing ctrl-C to generate keyboard interrupt.

Updated on: 2019-07-30T22:30:21+05:30

364 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements