Using Range In While Loop Python Break Function On Keyboard