• + 6 comments

    Python oneline (not optimal, though)

    print(sorted(reversed(list(set(types))), key=types.count)[-1])