Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197502

Re: Add the numbers in a 9x9 multiplication Table

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 2025-06-06 00:13 +0000
Organization A noiseless patient Spider
Message-ID <101tbqu$1rh7t$1@dont-email.me> (permalink)
References <0b09b939cdbbe465809a7ec27e30912a@www.novabbs.com> <20250101214422.224@kylheku.com>

Cross-posted to 3 groups.

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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