There are 13 men and 12 women in a ballroom dancing class. If 6 men and 6 women are chosen and paired off, how many pairings are possible
menN = 13
womN = 12
parN = 6
rezult = 0
for i in range(parN):
rezult += (menN-i)*(womN-i)
print(i)
print(rezult)
Comments
Leave a comment