First time here? Check out the FAQ!
answered 2016-05-21 18:30:35 +0100
I don't know of a direct command. Here is one option, though.
F= factor(2016) result=[f[0] for f in F for i in range(f[1])] result
You may wish to look up the factor command for more details and examples.