Forums before death by AOL, social media and spammers... "We can't have nice things"
|    sci.lang    |    Natural languages, communication, etc    |    297,461 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 296,113 of 297,461    |
|    HenHanna to All    |
|    (1 Combination 2) = 0 -- Better explanat    |
|    14 Jul 24 13:57:32    |
      XPost: comp.lang.python, sci.math       From: HenHanna@devnull.tb              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) )              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca