MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / add

Function add

Solutions/4_3/validate.py:57–60  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

55# Examples
56if __name__ == '__main__':
57 def add(x, y):
58 Integer.check(x)
59 Integer.check(y)
60 return x + y
61
62 class Stock:
63 name = NonEmptyString()

Callers

nothing calls this directly

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected