Python While Loops and Sentinel Tracing