ChuannBlog

2.7 运算符

常规运算符:

+
-
*
**
/
//
%

字符串、列表是有序的可用+、*运算符

比较运算符:

is >
<
>=
<=
==
!=

赋值运算符:

=
+=
-=
*=
\/=
\%=
**=
\//=

逻辑运算:

and
or
in
not