1.表達式是運算符和操作數構成的序列
2.not a or b +2 = c 的運算結果爲什麼?運算順序是什麼?
首先結果爲false,按照算術表達式優先來說,可先分爲
not a or ( (b+2) ==c))
然後根據not > and > or推斷出
((not a ) or ( (b+2) ==c))
得出false
1.表達式是運算符和操作數構成的序列
2.not a or b +2 = c 的運算結果爲什麼?運算順序是什麼?
首先結果爲false,按照算術表達式優先來說,可先分爲
not a or ( (b+2) ==c))
然後根據not > and > or推斷出
((not a ) or ( (b+2) ==c))
得出false
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta