Imperative Programming Example In Python