Examveda
Examveda

What is the result of 12 // 4 / 2 ?

A. 3.0

B. 3

C. 1.0

D. 1

Answer: Option A

Solution(By Examveda Team)

The // and / operators have the same precedence and are evaluated left to right.

This Question Belongs to Python Program >> Precedence And Associativity

Join The Discussion

Related Questions on Precedence and Associativity