列表推导式
nums = [num*2 for num in range(0,100,1) if num!=0]
迭代器推导式
iters = (num*2 for num in range(0,100,1) if num!=0)
字典推导式
maps = {v:k for k,v in enumeration(nums)}
nums = [num*2 for num in range(0,100,1) if num!=0]
iters = (num*2 for num in range(0,100,1) if num!=0)
maps = {v:k for k,v in enumeration(nums)}