Operator precedence in python