Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/python-mastery
/ div
Function
div
Solutions/7_1/validate.py:106–107 ·
view source on GitHub ↗
(x:Integer, y:Integer)
Source
from the content-addressed store, hash-verified
104
105
@validated
106
def
div(x:Integer, y:Integer) -> Integer:
107
return
x / y
108
109
class
Stock:
110
name = NonEmptyString()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected