Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{{},..10 elements...,{}},{{},...44 elements...,{} aso.
- {{{},..10 elements...,{}},{{},...10 elements...,{} aso.
- expr = Range @ {6, 3, 14, 9, 5}
- {{1, 2, 3, 4, 5, 6},
- {1, 2, 3},
- {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14},
- {1, 2, 3, 4, 5, 6, 7, 8, 9},
- {1, 2, 3, 4, 5}}
- Take[expr, All, 2]
- expr[[All, ;; 2]]
- {{1, 2}, {1, 2}, {1, 2}, {1, 2}, {1, 2}}
- Needs["GeneralUtilities`"]
- TrimRight[expr]
- TrimLeft[expr]
- {{1, 2, 3}, {1, 2, 3}, {1, 2, 3}, {1, 2, 3}, {1, 2, 3}}
- {{4, 5, 6}, {1, 2, 3}, {12, 13, 14}, {7, 8, 9}, {3, 4, 5}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement