Discord
Login
Community
DARK THEME

AttributeError: 'list' object has no attribute 'len'

Why is this happening? I even defined a method called len to try and troubleshoot and it still doesn't work.

In what language? For JavaScript and microScript, use array.length to get the length of an array array.

Python, Sorry. I tried len as well though.

Here is the link to my project. I won't be able to copy/paste anything, there is just too much code. https://microstudio.io/i/NinjixStudios/rngcardgame/

Use len(list) or list.__len__() in Python.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community