Lisp: (mapcar length '("one" (2 3))) => (3 2) Python: [len(x) for x in ["one", [2,3]]] => [3,2]
(Ierakstīt jaunu komentāru)
(Atbildēt uz šo) (Diskusija)
Contents of Address of Register.
(Atbildēt uz šo) (Iepriekšējais)
(Atbildēt uz šo)
map(len, ["one", [2,3]])
(Atbildēt uz šo) (Iepriekšējais) (Diskusija)