Python Append Error



I am working on the delete vowels exercise in Python. For some reason I get an error on my .append() command: TypeError: ‘builtin_function_or_method’ object has no attribute ‘getitem

Ive been struggling with this all day and just dont understand. I believe that Everything is of the “string” type. What do you think might be the issue?

Thanks, Eric
Here is the code:


.append() is a method call, which requires parentheses. Using square brackets is for accessing string and list by index.


Wow! Hidden in plain sight. I have been staring at this ALL day. Thanks. I’ll keep going… And never make that mistake again.