📜  带有布尔值的 python3 条件 - Python 代码示例

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

代码示例2
def a_bigger(a, b):
  if a > b and (a - b) >= 2:
    return True
  else:
    return False
  ## Can all be written as just
  ## return (a > b and (a - b) >= 2)