Re: Add the numbers in a 9x9 multiplication Table

Liste des GroupesRevenir à cl python 
Sujet : Re: Add the numbers in a 9x9 multiplication Table
De : Nobody447095 (at) *nospam* here-nor-there.org (B. Pym)
Groupes : rec.puzzles comp.lang.lisp comp.lang.python
Date : 06. Jun 2025, 01:13:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101tbqu$1rh7t$1@dont-email.me>
References : 1 2
User-Agent : XanaNews/1.18.1.6
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

Date Sujet#  Auteur
2 Jan 25 * Add the numbers in a 9x9 multiplication Table7HenHanna
2 Jan 25 +* Re: Add the numbers in a 9x9 multiplication Table3Kaz Kylheku
6 Jun01:13 i`* Re: Add the numbers in a 9x9 multiplication Table2B. Pym
6 Jun16:25 i `- Re: Add the numbers in a 9x9 multiplication Table1B. Pym
2 Jan 25 `* Re: Add the numbers in a 9x9 multiplication Table3yeti
3 Jan 25  `* Re: Add the numbers in a 9x9 multiplication Table2HenHanna
4 Jan 25   `- Re: Add the numbers in a 9x9 multiplication Table1Kaz Kylheku

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal