What don you mean by precedence and associativity of operators ?

Question :

What don you mean by precedence and associativity of operators ?

The operators in Python are grouped hierarchically according to their precedence (i.e, order of evaluation ).Operations with a higher precedence are carried out before operations having a lower precedence than any of the other operators.

The order in which consecutive operations within the same precedence group are carried out is know as associativity.


Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad