# generator functions


def f1():
    l = []
    for i in range(1000):
        l.append(i)
    return l

def f2():
    for i in range(1000):
        yield i  # yield ulatama

# for i in f1():
#     print i

# # to iterate = 
# for i in f2():
#     print i

print f1()
print f2()


ced6286a268a3401f2302df0af5156e7949f61bc
# generator functions


def f1():
    l = []
    for i in range(1000):
        l.append(i)
    return l

def f2():
    for i in range(1000):
        yield i  # yield ulatama

# for i in f1():
#     print i

# # to iterate = 
# for i in f2():
#     print i

print f1()
print f2()

