Negative Range In Python Code