def myGen():
print("gen is excuting...")
yield 1
yield 2
def libs():
a=0;b=1
while True:
a,b=b,a+b
yield a
for each in libs():
if each>100:
break
print(each,end='#### ')
a=[i for i in range(100) if not(i%2) and i % 3]
print(a)
b={i:i % 2 ==0 for i in range(10)}
print(b)
c={i for i in [1,1,2,3,4,5,6,7,8,3,2,1]}
print(c)
e=(i for i in range(10))
print(e)
for each in e:
print(each)
a=sum(i for i in range(100) if i % 2)
print(a)