This is my current program that replaces vouls in to nothin(cs50 program)
user_input = input("Input: ")
for letter in user_input:
if (letter == 'a' or letter == 'e' or letter == 'i' or letter == 'o' or letter == 'u'):
print(user_input.replace("a", "").replace("e", "").replace("i", "").replace("o", "").replace("u",""))
and I would like to know if there is a way to make it less repetitve and more stream line because I have no clue how to do that, and it has a bug where it prints the output more times than it should, and I don't know what causes that