I've been working on this Palindrome program and am really close to completing it.Close to the point that it's driving me a bit crazy haha.
The program is supposed to check each 'phrase' to determine if it is a Palindrome or not and return a lowercase version with white space and punctuation removed if it is in fact a Palindrome. Otherwise, if not, it's supposed to return None.
I'm just having an issue with bringing my test data into the function. I can't seem to think of the correct way of dealing with it. It's probably pretty simple...Any ideas?
Thanks!

```py
import string

def reverse(word):
    newword = ''
    letterflag = -1
    for numoletter in word:
        newword += word[letterflag]
        letterflag -= 1
    return newword

def Palindromize(phrase):
    for punct in string.punctuation:
        phrase= phrase.replace(punct,'')
        phrase = str(phrase.lower())

    firstindex = 0
    secondindex = len(phrase) - 1
    flag = 0
    while firstindex != secondindex and firstindex < secondindex:
        char1 = phrase[firstindex]
        char2 = phrase[secondindex]
        if char1 == char2:
            flag += 1
        else:
            break
        firstindex += 1
        secondindex -= 1
    if flag == len(phrase) // (2):
        print phrase.strip()
    else:
        print None

def Main():
    data = ['Murder for a jar of red rum',12321, 'nope', 'abcbA', 3443, 'what',
    'Never odd or even', 'Rats live on no evil star']
    for word in data:
        word == word.split()
        Palindromize(word)
if __name__ == '__main__':
    Main() 

```