Sujet : How do i get multiple Min() values? De : HenHanna (at) *nospam* devnull.tb (HenHanna) Groupes :comp.lang.pythoncomp.lang.lisp Date : 12. Jul 2024, 10:49:41 Autres entêtes Organisation : A noiseless patient Spider Message-ID :<v6qu7m$2vg8q$1@dont-email.me> 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) ?