Q:

How to multiply my list by each number of it (mini calculator)

I've searched in google and python documentation and Stackoverflow and I got really confused and no ways of using anything has proven to be correct.
divisors = []

prime_numbers = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]        
first_fraction_number = int(input("Type the first number of your fraction " + prompt))
second_fraction_number = int(input("Type the second number of your fraction " + prompt))

        for i in range(len(prime_numbers)):

            if first_fraction_number%prime_numbers[i-1]==0:
                divisors.append([prime_numbers[i-1]])
                #divisors = divisors + prime_numbers[i-1]

            elif second_fraction_number%prime_numbers[i-1]==0:
                divisors.append([prime_numbers[i-1]])
                #divisors = divisors + prime_numbers[i-1]

        #mmc_number = operator.mul(divisors,1)

        mmc_number = 1

        divisors = (str(divisors).replace("[","").replace("]","").replace(",",""))
        print (divisors)

        len_div = len(divisors)
        #divisors = list(map(int,divisors))

        for i in range(0,len_div):

            if type((divisors[i])) == int:

                print("Test")

I know my code have alot of mistakes, because I don't know how to do this ...
I've tried: 
print(reduce(operator.mul, divisors[]))

and did not work too.
print(reduce(mul, map(int, divisors)))

neither.
Example of what i need :
If divisors = [2,3,5] , I need mmc_number = 2*3*5

A:

You simply have to remove the [] after divisors.
divisors = ["2","3","5"]
from operator import mul
print(reduce(mul, map(int, divisors)))   # 30

If divisors is 2 5 7, you should do the following
divisors = "2 5 7"
from operator import mul
print(reduce(mul, map(int, divisors.split())))   # 70

