Skip to content

Commit e614be2

Browse files
feat: add operation
1 parent ce0de1a commit e614be2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/calculator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ def divide(x, y):
1414
return 'Cannot divide by 0'
1515
return x * 1.0 / y
1616

17+
def foo(x):
18+
return -x
19+

0 commit comments

Comments
 (0)