Skip to content

Commit

Permalink
Fix bug030
Browse files Browse the repository at this point in the history
  • Loading branch information
Isabella Lombardi authored and Isabella Lombardi committed Dec 13, 2023
1 parent 8c4f996 commit 69b587f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/BUG/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def extract_digits(s: str) -> str:
"""
BUG030: extract_digits should return a string containing only the digits from the input string, not convert it to int.
"""
result = int(s)
result = str(s)
return result


Expand Down

0 comments on commit 69b587f

Please sign in to comment.