I am a green hand at programming so I may make so really stupid mistakes.
I want to remove all the vowel character from a string. The below is what I have written.
Instead of returning print “bcdf”, it prints “aeioubcdf”.```python
n = “aeioubcdf"
for i in text:
if i in “aeiouAEIOU”:
text = text.replace(“i”,”")
text = text
Can someone please tell me what’s the problem with my code?
Thanks in advance.
<do not remove the three backticks above>