Programming and Problem Solving through Python : Operators Expressions and Python Statements

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

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




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