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.