двойной для петли Python

#code to print all atomic members of a list into a single list
#eg convert [[1,2,3], [4,5,6], [7,8,9,10]] to 
l0 = [[1,2,3], [4,5,6], [7,8,9,10]]

flat = [l2 for l1 in l0 for l2 in l1]
#prints out:
#[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Real Rhinoceros