Computer Science, asked by best36, 5 months ago

Which of the following operators is the correct option for power(ab)?​

Answers

Answered by Aaryan1919
6

Answer: (b) a star star b

Explanation: The power operator in python is a star star b, i.e., 2 star star3=8.

Answered by SaurabhJacob
2

The '* *' is the correct operator for power(ab).

  • There are many programming that does not allow the use of '* *' this operator for raising to some power.
  • Some of the programming languages that allow this are, python, etc.
  • This is the operator used in place of the function present in math's header file or module.
  • The syntax of that function of power is,

                                          pow(a,b)

Similar questions