Skip to content

Commit 40d72d5

Browse files
Update palindrome.py
1 parent c82d6b3 commit 40d72d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

strings/palindrome.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"ABC": False,
1313
"amanaplanacanalpanama": True, # "a man a plan a canal panama"
1414
"abcdba": False,
15+
"AB": False,
1516
}
1617
# Ensure our test data is valid
1718
assert all((key == key[::-1]) is value for key, value in test_data.items())

0 commit comments

Comments
 (0)