lam-ho commited on
Commit
b5492dd
·
verified ·
1 Parent(s): 938d75d

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
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* (1.0) / b
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
  """