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

Function add

Solutions/7_1/validate.py:102–103  ·  view source on GitHub ↗
(x:Integer, y:Integer)

Source from the content-addressed store, hash-verified

100if __name__ == '__main__':
101 @validated
102 def add(x:Integer, y:Integer) -> Integer:
103 return x + y
104
105 @validated
106 def div(x:Integer, y:Integer) -> Integer:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected