Using Range In A While Loop Python 3