Create a Python function to print out all the words in a given string with the letter e.
str = "Hello World"
def print_words_with_e(str): 
    words = str.split() 
    for word in words: 
        if 'e' in word: 
            print(word) 

print_words_with_e(str)