| + | - | * | 
|---|---|---|
| / | % | // | 
以上都是常用的算術運算符
python = 5
c = 4
print(python + c)
#9
| x += y | x = x + y | 
|---|---|
| x -= y | x = x - y | 
| 左右兩邊的意思相等,不過就只是稍微少了點字 | 
比如大於(>)、小於(<)、等於(==)......
p.s.記住,==才是等於,=的意思是右邊的數值賦予給左邊
a = 5
b = 4
print(a == b)
#false
and(和), or(或), not(不是)
a = 5
b = 5
print(a and b == 5)
#true
a = 5
print(~a)
#-6
#因為5的2進位是(0000 0101),反過來就變成(1111 1010),代表-6

a = 5
b = 5
if a > b :
    print('the same')
else :
    print('not the same')
#not the same
#支離破碎の發言