# DemoFilter.py 

#함수를 정의
def getBiggerThan20(i):
    return True if i > 20 else False

#필터링하는 조건으로 함수를 넘기기 
lst = [10, 25, 30]
item = filter(getBiggerThan20, lst)
for i in item:
    print(i)
4bc506de7b7c8aea4bae18009680da997b4698ff
<mask token>

def getBiggerThan20(i):
    return True if i > 20 else False


<mask token>

def getBiggerThan20(i):
    return True if i > 20 else False


<mask token>
for i in item:
    print(i)

def getBiggerThan20(i):
    return True if i > 20 else False


lst = [10, 25, 30]
item = filter(getBiggerThan20, lst)
for i in item:
    print(i)

# DemoFilter.py 

#함수를 정의
def getBiggerThan20(i):
    return True if i > 20 else False

#필터링하는 조건으로 함수를 넘기기 
lst = [10, 25, 30]
item = filter(getBiggerThan20, lst)
for i in item:
    print(i)