def myfunc(name):
    return f"hello {name}"

names = ["greg", "bob", "frank"]

for i in map(myfunc, names):
    print(i)


def gethigh(num):
    return num >= 10

nums = [0,5,10,15]

for i in filter(gethigh,nums):
    print(i)

for i in map(lambda name: f"hello {name}", names):
    print(i)

for i in filter(lambda num: num >= 10, nums):
    print(i)

2dc02f5d9a336105810f746cd0d147c0b5594253
def myfunc(name):
    return f'hello {name}'


<mask token>

def myfunc(name):
    return f'hello {name}'


<mask token>


def gethigh(num):
    return num >= 10


<mask token>

def myfunc(name):
    return f'hello {name}'


<mask token>
for i in map(myfunc, names):
    print(i)


def gethigh(num):
    return num >= 10


<mask token>
for i in filter(gethigh, nums):
    print(i)
for i in map(lambda name: f'hello {name}', names):
    print(i)
for i in filter(lambda num: num >= 10, nums):
    print(i)

def myfunc(name):
    return f'hello {name}'


names = ['greg', 'bob', 'frank']
for i in map(myfunc, names):
    print(i)


def gethigh(num):
    return num >= 10


nums = [0, 5, 10, 15]
for i in filter(gethigh, nums):
    print(i)
for i in map(lambda name: f'hello {name}', names):
    print(i)
for i in filter(lambda num: num >= 10, nums):
    print(i)

def myfunc(name):
    return f"hello {name}"

names = ["greg", "bob", "frank"]

for i in map(myfunc, names):
    print(i)


def gethigh(num):
    return num >= 10

nums = [0,5,10,15]

for i in filter(gethigh,nums):
    print(i)

for i in map(lambda name: f"hello {name}", names):
    print(i)

for i in filter(lambda num: num >= 10, nums):
    print(i)
