I'm attempting to make a program that loops if the user inputs a particular phrase. Currently the program ends the loop no matter what the user inputs.
umlist = ['um', 'UM' , 'Um' ]
while True:
    phrase = input('Say something. ')
    umcheck=phrase.split()
    if umcheck in umlist:
        print("You said um, try again")
    else:
        break
print("Well done, you didn't say um.")
What do I need to change to have the program detect and loop if a user inputs "um"
 
     
     
    