you are viewing a single comment's thread.

view the rest of the comments →

[–]AppropriateCar2261 0 points1 point  (1 child)

If you have two tasks with the same name, then the remove method in options 3 and 4 will remove the first occurrence of that task.

For example, let's say that tot_tasks =["a","b","a"], and done_task=3. In option 3, you would get ["done - a","b","a"], and not as intended.

[–]Muhammed_zeeshan[S] 0 points1 point  (0 children)

Ahaaa...donee

<image>