text_plain_output_1.png
fact = 1
for i in range(1, 11):
    fact = fact * i

import pandas as pd
import numpy as np
def factorial(value):
    fact = 1
    for i in range(1, value + 1):
        fact = fact * i
    return fact
n = 5
r = 3
c = factorial(n) / (factorial(r) * factorial(n - r))
print('No of combination = ' + str(c))