examples/basics/short_circuit.py
from __future__ import print_function
import sys

def check_money():
    return money > 1000000

def check_salary():
    salary += 1
    return salary >= 1000

if check_money() or check_salary():
    print("I can live well")

17 checking if can_vote
19 checking if can_vote
19 checking if can_buy_alcohol
24 checking if can_vote
24 checking if can_buy_alcohol
24 To old to rock-and-roll