I have a python program with a for loop that returns to me integers in tuples. These tuples are contained in lists as shown:
[(1,), (2,), (3,), (5,)]
[(4,)]
[(2,)]
[(1,), (2,), (3,), (4,)]
How can I get the mode from such a result?
I have a python program with a for loop that returns to me integers in tuples. These tuples are contained in lists as shown:
[(1,), (2,), (3,), (5,)]
[(4,)]
[(2,)]
[(1,), (2,), (3,), (4,)]
How can I get the mode from such a result?