I have defined a vowel count() function which is to count the number of vowels in a user input returning count from the vowel count() function. My def structure doesn't work.
Addition: How not equal the user input into any number?
# Defining Function
def vowelCount(data):  # Counting the number of vowels in a word
    count = 0
    list1 = ["a", "e", "i", "o", "u"]
    for input in data:
        if input in list1:
            count += 1
    return count
while redo == True:
  try:
    userinput = str(input("Enter String Data: "))
    if (userinput >= 0) or (userinput <= 0):  # userinput should not be equal to a number
        print("2Please enter an alphabetical value.")
        break
    except:
        print("!Please enter an alphabetical value.")
        exit()
    print("Number of Vowels: ", vowelCount(userinput))
 
     
    