Skip to content

Commit

Permalink
fix BUG038
Browse files Browse the repository at this point in the history
  • Loading branch information
SalerSimo committed Dec 13, 2023
1 parent 7fcacee commit 0cd2394
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 @@ -138,7 +138,7 @@ def is_numeric(s: str) -> bool:
"""
BUG038: is_numeric should check if all characters in the string are numeric, not if the entire string is numeric.
"""
result = s.isalpha()
result = s.isnumeric()
return result


Expand Down

0 comments on commit 0cd2394

Please sign in to comment.