TypeError: ‘list’ object is not callable while trying to access a list

For accessing the elements of a list you need to use the square brackets ([]) and not the parenthesis (()).

Instead of:

print  wordlists(len(words))

you need to use:

print worldlists[len(words)]

And instead of:


you need to use:


Leave a Comment