Run »
import numpy as np arr = np.arange(1, 11) x = np.lcm.reduce(arr) print(x)
2520