![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Tort |
Hi. How to raise a number to a power? (In python **2
)
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Tort |
Hi. How to raise a number to a power? (In python **2
)
![]() |
Reply From: | Adam Volný |
You use the function pow(a, b)
which is equivalent to python a ** b
.
And nowadays a ** b
does also work.
Kirito | 2023-02-23 20:44