Yes, I tried this and it worked. I was wondering if I could use the output
of pow (or math.pow).

On Tue, Jan 7, 2020, 7:41 PM Michael Torrie <torr...@gmail.com> wrote:

> On 1/7/20 8:18 PM, Shashank Tiwari wrote:
> > Thanks Chris. What if it's pow(2.2,0.45)?
>
> Why not do some more experimentation:
>
> >>> import decimal
> >>> a = decimal.Decimal('2.2')
> >>> b = decimal.Decimal('0.45')
> >>> a ** b
> Decimal('1.425903734234490793207619170')
>
> Is this what you mean? I'm sure there are other ways as well.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to