

McqMate
Q. |
Which is the correct operator for power(xy)? |
A. | x^y |
B. | x**y |
C. | x^^y |
D. | none of the mentioned |
Answer» B. x**y | |
Explanation: in python, power operator is x**y i.e. 2**3=8. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet