直接定義a=True/False就行,示例程式碼:#定義布林值型別引數a,b,值分別為True,Falsea=Trueb=Falseprint a,bprint type(a),type(b)>>>True ...
確定! 回上一頁