Advertisement
VanoHa

двумерный => одномерный

Jun 22nd, 2023
591
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 1 0
  1. n = [[1, 2, 3, 4],
  2.      [5, 6, 7, 8],
  3.      [9, 8, 7, 6],
  4.      [5, 4, 3, 2]]
  5.  
  6. ic([x for row in n for x in row])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement