import decimal from decimal import * getcontext().prec = 200 def my_factorial (number): facto = Decimal ('1') for n in range (1, round (number) + 1, 1): facto = Decimal (facto) * Decimal (n) return facto i = Decimal ('0') som = Decimal ('0') for j in range (0, 101, 1): K = my_factorial (Decimal ('100')) / (my_factorial (Decimal (i)) * my_factorial (Decimal ('100') - Decimal (i))) print ("