Quick actions

cmd+k|ctrl+k

Navigation

Languages

Operator precedence

Snippet info

Language

Python

Visibility

public

Author

vijay-s

Created

2025-11-07T00:40:33.51788Z

Updated

2025-11-07T00:49:46.499801Z

#Operator precendece

print((5 + 4) * 10 / 2) #45.0

print(((5 + 4) * 10) / 2) #45.0

print((5 + 4) * (10 / 2)) #45.0

print(5 + (4 * 10) / 2) #25.0

print(5 + 4 * 10 // 2) # 25

# ()
# ** 
# * /
# + - 
INFO