位置:首頁 > 軟件操作教程 > 編程開發(fā) > Python > 問題詳情

python的布爾表達(dá)式怎么寫?

提問人:楊紫紅發(fā)布時(shí)間:2020-11-26

布爾表達(dá)式– and, or, not


if b >= a and b <= c:

print ‘bool is True’


if not (b < a or c > c):

  print ‘not expr, value is True’

繼續(xù)查找其他問題的答案?

相關(guān)視頻回答
回復(fù)(0)
返回頂部