Strings
Problem Statement
Write test - 1
def test_palindrome():
assert is_a_palindrome("ABBA") == True
assert is_a_palindrome("BOB") == True
assert is_a_palindrome("B") == TruExercise Test - 1
def test_palindrome():
> assert is_a_palindrome("ABBA") == True
E NameError: name 'is_a_palindrome' is not definedFix Test - 1
Exercise Test - 2
Fix Test - 2
Exercise Tests - 2
Refactor
Last updated