1 2 3 4 5 6 7 8 9 10 11 12
def described(value): """Return the value unchanged.""" # The identity is the whole contract. # # A blank line follows this comment block. return value def compute(value): scaled = value * 2 return scaled + 1