Python bool () 函数Python 内置函数描述bool() 函数用于将给定参数转换为布尔类型,如果没有参数,返回False。 bool 是int 的子类。 语法以下是bool() 方法的语法: ...
確定! 回上一頁