Using Range In While Loop Python Break String