Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ modulus
Function
modulus
Python/Calculator.py:30–32 ·
view source on GitHub ↗
(num1, num2)
Source
from the content-addressed store, hash-verified
28
# Function to return the remainder of the division operation
29
30
def
modulus(num1, num2):
31
32
return
num1 % num2
33
34
# Function to return the nearest quotient of the division operation
35
Callers
1
Calculator.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected