You are viewing a single comment's thread. Return to all comments →
Question was a bit difficult to understand. I was able to figure out that you wanted to get the LCM of all integers of A, but for this, I thought that since 2 is a factor of 20, 30, and 12 the output would be 3.
A = 
B = [20,30,12]
Once you wrote it like this, I was able to fix the solution.