How does len[] work?

i use len[enemies] alot but it wont work in what im doing

Use parentheses instead of square brackets. It returns in the number of items inside a list.

1 Like

thanks so it is len() right?

1 Like

Yes. len() is right.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.