Python Exception Infinite While Python Statement Questions