Python Append Error


#1

Hi,

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
PS
Here is the code:


#2

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


#3

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