MCQ Answer

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

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

Topic : Operators Expressions and Python Statements

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 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz