I'm new to programming, and I need some help. I have a list like this
a=[[('the', 'b'), ('hotel', 'i')],[('the', 'b'), ('staff', 'i')]]
and I'm trying to get rid of the tuple while retaining the data in a list, the outcome should look like this
output=[['the', 'b', 'hotel', 'i'],['the', 'b', 'staff', 'i']]
Thank you so much