
numbers=(1,2,3,4)  # tuple, list ,set 
tuple_numbers=(i for i in numbers)

print(tuple_numbers)
print(type(tuple_numbers))

# memory management 

# performanance improvement

# next()
print(next(tuple_numbers))
print(next(tuple_numbers))
print(next(tuple_numbers))
print(next(tuple_numbers))

#print(next(tuple_numbers))


