Python Set String Variable As An Exponent