Take[list, n]给出 list 的前 n 个元素.
Take[list, -n]给出 list 的后 n 个元素.
Take[list, {m, n}]给出 list 中从 m 到 n 的元素.
Take[list, seq1, seq2, ...]给出嵌套列表,其中 指定的元素从 list 的层 i 中取出.
从一个列中选取前 4 个元素:
选取后 3 个元素:
选取从 2 到 4 的元素:
Span Part Drop StringTake First Last Most Rest Complement Select Cases TakeWhile
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »