File: LP6E/Chapter34/asserter.py

def f(x):
    assert x < 0, 'x must be negative'
    return x ** 2



[Home page] Books Code Blog Python Author Train Find ©M.Lutz