def anti_vowel (text):
for i in range(len[text]):
This code is returning the following error. I am not able to understand. If some one can help, it would be great.
Traceback (most recent call last):
File “python”, line 11, in
File “python”, line 3, in anti_vowel
TypeError: ‘builtin_function_or_method’ object has no attribute ‘getitem’