#!/usr/bin/python3#运算符#算术运算符print("算术运算符:","+ - * / % **(幂) //(取整)")#比较运算符print("比较运算符:","== != > < >= <=")#位运算符print("位运算符")print("与& ","同时1则1否则0")print("或| ","有一个是1则1否则0")print("异或^ ","不同则是1")print("取反~ ","反码")print("左移<< ","反码")print("右边 ","反码")#赋值运算符print("赋值运算符","= += -= *= /= %= **= //=")#逻辑运算符print("逻辑运算符,boolean值返回True/False,否则返回计算的值","and or not")#成员运算符print("成员运算符","in not in")print("成员运算符 in","判断是否在序列中 x is list")#身份运算符print("身份运算符","is is not")print("身份运算符 is","判断2个标识符是不是引用一个对象 x is y")