How to Construct While Loops In Python