Generate a program in Python that accepts a string as input and removes all vowels from it.
"Hello World"
def removeVowels(str):
    vowels = ('a', 'e', 'i', 'o', 'u') 
    res = ""
    for char in str:
        if char.lower() not in vowels:
            res += char
    return res

print(removeVowels("Hello World"))