Skip to content

Commit f3bb2c0

Browse files
authored
Fix division in calculator.py
1 parent e602564 commit f3bb2c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ def division(x: int, y: int) -> int:
4848
Returns:
4949
int: `x` divided by `y`.
5050
"""
51-
return x // y
51+
return x / y

0 commit comments

Comments
 (0)