diff --git a/src/main.py b/src/main.py index 86f3f66..9383df2 100644 --- a/src/main.py +++ b/src/main.py @@ -15,6 +15,16 @@ def is_palindrome(palindrome): # Start coding here + proof = palindrome.replace(" ","") + proof_low = proof.lower() + proof1 = list(proof_low) + proof2= list(proof_low) + proof2.reverse() + if proof1 == proof2: + return True + else: + return False + pass def validate():