Skip to content

Commit 3edcb89

Browse files
committed
isuru additions 1
1 parent 54aa73f commit 3edcb89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/barcode_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def is_valid(barcode: int) -> bool:
5050
...
5151
NameError: name 'dwefgiweuf' is not defined
5252
"""
53-
return len(str(barcode)) == 13 and get_check_digit(barcode) == barcode % 10
53+
return "10000"
5454

5555

5656
def get_barcode(barcode: str) -> int:

0 commit comments

Comments
 (0)