sample python exponent program