mathmatic operation
adding(+), subtraction(-), division(/), multiplication(*), power of arithmetical computation(), division without remainder(//), remainder(%)
python has no self increasing or decreasing method**
comparison operation
bigger than(>), smaller than(<), equal to(==), bigger or equal to(>=), smaller or equal to(<=)
not equal to(!=)
extention
result = 44 < 55 < 33 # and logical
print(result)
bool operation
1 and
both True == True
either one is False == False
both False == False
2 or
either one is True == True
both True == True
both False == False
3 not
4 xor(not supported)
both True or False == False
either one is True or False == True
© 著作权归作者所有
举报
发表评论
0/200