It should be noted that I am a beginner at Python. I have sixteen tasks that need to be done that are contained in a list:
task_list = ['task_1',
'task_2',
'task_3',
'task_4',
'task_5',
'task_6',
'task_7',
'task_8',
'task_9',
'task_10', etc...]
I also have four people, persons A, B, C, and D who will divide these tasks evenly among themselves (4 tasks per person). For each of these people, I have created an empty list.
personA_tasks = []
personB_tasks = [],
etc.
How can I randomly append these 16 tasks to these four lists so that the length of each of the four lists is 4?
This is not homework, as an FYI.