Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197504
| Path | csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "B. Pym" <Nobody447095@here-nor-there.org> |
| Newsgroups | rec.puzzles, comp.lang.lisp, comp.lang.python |
| Subject | Re: Add the numbers in a 9x9 multiplication Table |
| Date | Fri, 6 Jun 2025 15:25:51 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 22 |
| Message-ID | <101v19u$2bho4$1@dont-email.me> (permalink) |
| References | <0b09b939cdbbe465809a7ec27e30912a@www.novabbs.com> <20250101214422.224@kylheku.com> <101tbqu$1rh7t$1@dont-email.me> |
| Injection-Date | Fri, 06 Jun 2025 17:25:51 +0200 (CEST) |
| Injection-Info | dont-email.me; posting-host="d9eb446f1c0856427392eb536decbcd7"; logging-data="2475780"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pB9hYoukCZr/VjTUdexNO" |
| User-Agent | XanaNews/1.18.1.6 |
| Cancel-Lock | sha1:rHsYL2FzjZfnZK6W9Q4MpTNd6hQ= |
| Xref | csiph.com rec.puzzles:26691 comp.lang.lisp:60322 comp.lang.python:197504 |
Cross-posted to 3 groups.
Show key headers only | View raw
B. Pym wrote: > Kaz Kylheku wrote: > > > 1> (sum-each ((i 1..10) (j 1..10)) (* i j)) > > 285 > > 2> (sum-each-prod ((i 1..10) (j 1..10)) (* i j)) > > 2025 > > Gauche Scheme > > (use srfi-42) > > (sum-ec (: i 10) (: j 10) (* i j)) > ===> > 2025 Equivalent but more prolix: (sum-ec (:range i 0 10) (:range j 0 10) (* i j))
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Add the numbers in a 9x9 multiplication Table HenHanna <HenHanna@dev.null> - 2025-01-02 04:02 +0000
Re: Add the numbers in a 9x9 multiplication Table Kaz Kylheku <643-408-1753@kylheku.com> - 2025-01-02 05:49 +0000
Re: Add the numbers in a 9x9 multiplication Table "B. Pym" <Nobody447095@here-nor-there.org> - 2025-06-06 00:13 +0000
Re: Add the numbers in a 9x9 multiplication Table "B. Pym" <Nobody447095@here-nor-there.org> - 2025-06-06 15:25 +0000
Re: Add the numbers in a 9x9 multiplication Table yeti <yeti@tilde.institute> - 2025-01-02 11:36 +0042
Re: Add the numbers in a 9x9 multiplication Table HenHanna <HenHanna@dev.null> - 2025-01-03 21:31 +0000
Re: Add the numbers in a 9x9 multiplication Table Kaz Kylheku <643-408-1753@kylheku.com> - 2025-01-03 23:12 +0000
csiph-web