Given that
g=[[1,2,3,4],[4,5,6],[6,7],[10,11]]
What code should I use to get [[1,2,3,4,5,6,7],[10,11]]?
Given that
g=[[1,2,3,4],[4,5,6],[6,7],[10,11]]
What code should I use to get [[1,2,3,4,5,6,7],[10,11]]?
 
    
    list(set(sum(g, [])))
Output:[1,2,3,4,5,6,7]
 
    
    