Skip to content

Commit

Permalink
Merge pull request #2 from giovanni-tafe/main
Browse files Browse the repository at this point in the history
fixed subtraction #1
  • Loading branch information
Chloe23077 authored Mar 20, 2024
2 parents 243c98c + 2fa4534 commit ff9d82b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ def test_add():


def subtract(a, b):
return a + b # <--- fix this in step 8
return a - b # <--- fix this in step 8


# uncomment the following test in step 5
def test_subtract():
assert subtract(2, 3) == -1
assert subtract(2, 3) == -1

1 comment on commit ff9d82b

@Robbo-lab
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on this activity Chloe

Please sign in to comment.