(1 Combination 2) = 0 -- Better explanation?

Liste des GroupesRevenir à lang 
Sujet : (1 Combination 2) = 0 -- Better explanation?
De : HenHanna (at) *nospam* devnull.tb (HenHanna)
Groupes : comp.lang.python sci.math sci.lang
Date : 14. Jul 2024, 22:57:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v71e3t$a766$1@dont-email.me>
User-Agent : Mozilla Thunderbird
Python says:  (1 Combination 2) = 0
         Ok... It's Impossible (to do).
              ------- is there a Better explanation?
(5 Combination 0) = 1  <---- This is explained by  Comb(5,0)=Comb(5,5)
                                      in general:   Comb(N,r)=Comb(N,N-r)
_______________________________________
from math import comb
for i in range(6):      print( comb(5,i) )
print( comb(1,2)  )

Date Sujet#  Auteur
14 Jul 24 * (1 Combination 2) = 0 -- Better explanation?5HenHanna
15 Jul 24 +* Re: (1 Combination 2) = 0 -- Better explanation?3Jeff Barnett
15 Jul 24 i`* Re: (1 Combination 2) = 0 -- Better explanation?2HenHanna
16 Jul 24 i `- Re: (1 Combination 2) = 0 -- Better explanation?1Jeff Barnett
16 Jul 24 `- Re: (1 Combination 2) = 0 -- Better explanation?1Ben Bacarisse

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal