def g():
	yield from range(50)
	
list(g())