Python 中的0 和 1 的意思

Python程序语言指定任何非0和非空(null)值为true,0 或者 null为false,所以Python中的 1 代表 True,0代表False

posted @ 2018-09-21 10:16  菜菜_包包  阅读(5149)  评论(0编辑  收藏  举报