Stepwise Refinement Python W3schools