python学习官方网站 https://www.python.org/?tdsourcetag=s_pcqq_aiomsg
**(幂运算符)3**4=3*3*3*3=81
//(相除之后取商)
%(相除之后取余数)
运算符顺序越底部,优先级越高。同一行的相同优先级
lambda Lambda Expression
or Boolean OR
and Boolean AND
not x Boolean NOT
in, not in Membership tests
is, is not Identity test
<, <=, >, >=, !=, == Comparisons
| Bitwise OR
ˆ Bitwise XOR
& Bitwise AND
<<, >> Shifts
+, - Addition and subtraction
*, /, //, % Multiplication, Division, Floor Division and Remainder
+x, -x Positive, Negative
~x Bitwise NOT
** Exponentiation
x.attribute Attribute reference
x[index] Subscription
x[index1:index2] Slicing
f(arguments ...) Function call
(expressions, ...) Binding or tuple display
[expressions, ...] List display
{key:datum, ...} Dictionary display