palindrome코드import stringdef is_palindrome(text): text = ''.join(text.lower().split()) for char in string.punctuation: #특수문자를 하나씩 불러와 text = text.replace(char, "") #replace를 사용하여 삭제해준다. if text == "": return True #이 함수는 공백문자도 회문으로 포함하도록 설계되었다. if text[0] != text[-1]: return False return is_palindrome(text[1:-1]) palindrome 테스트 코드from helper import is_palindrom..