I want to replace all vowels in a string with a space:
string = str(input('Enter something to change'))
replacing_words = 'aeiou'
for i in replacing_words:
s = string.replace('replacing_words', ' ')
print(s)
If this is a wrong code, could someone assist with right codes and explanation, why it didn't work?