NIELIT O Level Exam

Which is the correct operator for power(x,y)?

Which is the correct operator for power(x,y)?


A. X^y

B. X**y

C. X^^y

D. None of the mentioned




Correct Answer is :

B. X**y



Explanation
In python, power operator is x**y i.e. 2**3=8.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad