bool 布尔值就是 True或者False 0是False , 非0是True None和空也是Fales '' , [] ,{}, 代表空 转载于:https://www.cnblogs.com/Ajie-boby/p/10035203.html