python 中要表示布林資料型態,可以使用True及False來表示,在控制流程中,會使用布林值來判斷是否進入迴圈。 >>> t=True. >>> type(t). <type 'bool'>. >>> r=False.
確定! 回上一頁