Python Programming Using Function Loops