if myval == 0:
nyval=1
if myval == 1:
nyval=0
有没有更好的方法可以在python中进行切换,例如nyvalue = not myval?
慕森卡
慕后森
慕标琳琳
相关分类