how do I create a function that randomly replaces vowels in a string with * in python
def long_string(str):
vow_list = ["a","e","i","o","u"]
for v in vow_list:
new_str = str.replace(v,"*")
return(new_str)
long_string("Why is this code not working?")