Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ __init__
Method
__init__
Divide Operator.py:4–6 ·
view source on GitHub ↗
(self, num1, num2)
Source
from the content-addressed store, hash-verified
2
INT_MAX = float(
"inf"
)
3
4
def
__init__(self, num1, num2):
5
self.num1 = num1
6
self.num2 = num2
7
8
def
perform_division(self):
9
if
self.num1 == 0:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected