Source code for AutomateTheBoringStuff.Ch02.P05_infiniteloop

"""Infinite loop

This program runs in an infinite loop (don't run unless you know how to stop it!).

Note:
    * CTRL-C usually works

"""


[docs]def main(): while True: print('Hello world!')
# If P05_infiniteloop.py is run (instead of imported as a module), call # the main() function: if __name__ == '__main__': main()