I want to split the following list into three sublists so that each sublist will consist of three elements:
my_list = ['text1', 'text1', 'text1', 'text2', 'text2', 'text2', 'text3', 'text3', 'text3']
result should be like:
result = [['text1', 'text1', 'text1'],['text2', 'text2', 'text2'],['text3', 'text3', 'text3']]