I have written some code that changes the state of an element in a list, if a random number is greater than the elements associated score (in another list).
I am tryi