Skip to content

Commit 1c9d4a3

Browse files
authored
Update abbreviation.py (TheAlgorithms#1887)
1 parent 0feed0b commit 1c9d4a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dynamic_programming/abbreviation.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"""
1313

1414

15-
def abbr(a, b):
15+
def abbr(a: str, b: str) -> bool:
1616
"""
1717
>>> abbr("daBcd", "ABC")
1818
True
@@ -34,7 +34,6 @@ def abbr(a, b):
3434

3535

3636
if __name__ == "__main__":
37-
# print(abbr("daBcd", "ABC")) # expect True
3837
import doctest
3938

4039
doctest.testmod()

0 commit comments

Comments
 (0)