List function not working

list(someObject) is not working with error thrown as —
‘list’ object is not callable

Hi Sarvesh, welcome to the community! :grinning:

There are a lot of reasons why an error like this could pop up, but without more information it would be impossible to know why this is happening for you. Could you edit your post following this guide on asking questions to clarify what you need help with? Once we have more context hopefully someone in the community will be able to help. Thanks!

In addition to what April suggested, please take a look at the following very similar topics: