I'm attempting to find all vowels within a string to replace them.
Here is what I've been working with:
word = "abcde"
vowels = "aeiou"
v = list(vowels)
hey = False
for i in range(len(word)):
if word[i] == v:
hey = True
print hey
I was trying to replace all those positions with strings with the symbol "$", but I can't figure out how I can do this linear search properly.