Re: How do i get multiple Min() values?

Liste des GroupesRevenir à cl python 
Sujet : Re: How do i get multiple Min() values?
De : HenHanna (at) *nospam* devnull.tb (HenHanna)
Groupes : comp.lang.python comp.lang.lisp sci.lang
Date : 12. Jul 2024, 21:00:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6rug7$35c6s$2@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
 How do i get multiple Min() values?
            e.g.      for   Y = (x-2)*(x-3)   for x in range(-10,10)
                                    the min Y is hit twice
  print(  min( ((x-2)*(x-3),  (x, (x-2, x-3)))
                                            for x in range(-10,10) ) )
   is this easy in Scheme(Gauche) ?
if the   Min()   is going to check all of the Candidate values,
     it could (at least) tell us  how many times the Min value was seen!

Date Sujet#  Auteur
12 Jul 24 * How do i get multiple Min() values?7HenHanna
12 Jul 24 +* Re: How do i get multiple Min() values?2HenHanna
15 Jul 24 i`- Re: How do i get multiple Min() values?1Kaz Kylheku
13 Jul 24 `* Re: How do i get multiple Min() values?4B. Pym
13 Jul 24  +- Re: How do i get multiple Min() values?1HenHanna
13 Jul 24  +- Re: How do i get multiple Min() values?1B. Pym
15 Aug 24  `- Re: How do i get multiple Min() values?1B. Pym

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal