convert number to exponential form python