Python : Operators Expressions and Python Statements

इस एक्सप्रेशन का आउटपुट क्या है, 3 * 1 ** 3? , What is the output of this expression, 3*1**3?

इस एक्सप्रेशन का आउटपुट क्या है, 3 * 1 ** 3?

What is the output of this expression, 3*1**3?
A. 27

B. 9

C. 3

D. 1



Correct Answer :

C. 3



Explanation
First this expression will solve 1**3 because exponential has higher precedence than multiplication, so 1**3 = 1 and 3*1 = 3. Final answer is 3.
CCC Online Test , CCC MCQ Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz career counselling in allahabad Website development Company in Allahabad