Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/python-mastery
/ div
Function
div
Solutions/7_4/validate.py:138–139 ·
view source on GitHub ↗
(x:Integer, y:Integer)
Source
from the content-addressed store, hash-verified
136
137
@validated
138
def
div(x:Integer, y:Integer) -> Integer:
139
return
x / y
140
141
@enforce(x=Integer, y=Integer)
142
def
sub(x, y):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected