Python class list cannot find the length len (list)

returns a list after running a function. The second function uses the list of the first function, but when the list is output, it becomes not a list and cannot be len ().
figure:

The

bin variable is the result of the previous function, and during the debug phase of the first diagram, list is shown.
but I did get the error "int" when I was running WWW= len (bin). "

Why do you ask the Great God for an answer?

Apr.27,2022

error message refers to the function to be called 'len' rather than parameter' bin',. If it is the latter, the error message should be as follows:
TypeError: object of type 'int' has no len ()
has the complete code ever defined a variable with the same name as len?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bed6e4-31b63.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bed6e4-31b63.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?