I want to remove the ] from each item on this list (and later compare the hours and obtain the average time between each hour). How can I do so? The list is as it follows: [