Using Range In A While Loop Python Syntax