📜  如果不是 python 代码示例

📅  最后修改于: 2022-03-11 14:46:59.936000             🧑  作者: Mango

代码示例3
boolean = False

if not boolean: #Boolean is false.
  print("No")
else: #Boolean is True
  print("Yes")