📜  Python If Boolean 示例 - Python 代码示例

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

代码示例1
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)