格式:
result = (a+b) if a>b else (b-a)
运算符优先级:
**
~
+ - (符号运算符)
* / // %
+ - (加减)
<< >>
&
^
|
== != > >= < <=
is is not
not
and
or
格式:
result = (a+b) if a>b else (b-a)
运算符优先级:
**
~
+ - (符号运算符)
* / // %
+ - (加减)
<< >>
&
^
|
== != > >= < <=
is is not
not
and
or