3 ms·
Of those three, the third is the best because Python uses eager evaluation. Or else the list(range(0,1000,12)) approach is fine too.
by colorint 9y ago
Of those three, the third is the best because Python uses eager evaluation. Or else the list(range(0,1000,12)) approach is fine too.