python: if not

206 阅读1分钟

当值为false时执行,值为false的情况:0, 0.0, ‘’, None, [],{} 等