I reran the code and got a different error this time:
transition_states[user_path[col] + '>' + user_path[col + 1]] += 1
At this line it gives me the following error message:
IndexError: list index out of range
I reran the code and got a different error this time:
transition_states[user_path[col] + '>' + user_path[col + 1]] += 1
At this line it gives me the following error message:
IndexError: list index out of range
Written by