在Python中,in关键字的效率是多少,例如:
in
a = [1, 2, 3] if 4 in a: ...
python performance time-complexity operator-keyword
operator-keyword ×1
performance ×1
python ×1
time-complexity ×1