Answer: The math module is a standard module in Python and is always available. To use mathematical functions under this module, you have to import the module using import math .
Explanation:
Answer:
it’s just a screenie hope it helps
Answer:
long power(int i)
{
return pow(2,i);
}
Explanation:
The above written function is in C++.It does not uses loop.It's return type is long.It uses the function pow that is present in the math library of the c++.It takes two arguments return the result as first argument raised to the power of second.
for ex:-
pow(3,2);
It means 3^2 and it will return 9.