I'm trying to duplicate all numbers in a list of alpha values as cleanly as possible but can't figure out how.
alphas = [.001, .01, .1, 1, 10, 100]
data_alphas = [a for num in alphas for i in range(2)]
This should return
[.001, .001, .01, .01, .1, .1, 1, 1, 10, 10, 100, 100]