How To End A While Loop In Python Without A Break Statement