Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Python | Output Type | Question 2

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

What is the output of the expression : 3*1**3
(A) 27
(B) 9
(C) 3
(D) 1


Answer: (C)

Explanation: Precedence of ** is higher than that of 3, thus first 1**3 will be executed and the result will be multiplied by 3.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads