... 或」與「反相」,在 Python 中也提供對應的邏輯運算子(Logical operator), ... 等傳給 bool(),都會傳回 False,這些型態的其他值傳入 bool(),則都會傳回 True。
確定! 回上一頁