In a Python for loop that iterates over a list we can write:
for
for item in list: print item
and it neatly goes through all t
I know rather old question but....came across looking other thing so I give my shot:
[each*2 for each in [1,2,3,4,5] if each % 10 == 0])