Examveda

What is the result of 3 ** 2 // 3 ?

A. 1

B. 3

C. 2

D. 27

Answer: Option A

Solution (By Examveda Team)

Exponentiation has higher precedence, so 3 ** 2 is evaluated first, then floor division.

This Question Belongs to Python Program >> Precedence And Associativity

Join The Discussion

Related Questions on Precedence and Associativity