Randomization of columns in condition file

Dear Michael,

I corrected the position of my codes and I debug the previous error. However, I got a new error:

13

I read some of your comments on this question and I tried to use your suggestions:

Thus I wrote these two lone of code to find out the problem:

print len (Choice)
print (Choice [0])

Nevertheless, I faced with the error: object of type ‘BuilderKeyResponse’ has no len().

This is the final step of my experiment and I would appreciate any comments.