Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -45,7 +45,7 @@ def divide(a: int, b: int) -> int:
|
|
45 |
"""
|
46 |
if b == 0:
|
47 |
raise ValueError("Cannot divide by zero.")
|
48 |
-
return a
|
49 |
|
50 |
def modulo(a: int, b: int) -> float:
|
51 |
"""
|
|
|
45 |
"""
|
46 |
if b == 0:
|
47 |
raise ValueError("Cannot divide by zero.")
|
48 |
+
return a / b
|
49 |
|
50 |
def modulo(a: int, b: int) -> float:
|
51 |
"""
|