#filter function
nums1 = [2,3,5,6,76,4,3,2]
bads = list(filter(lambda x: x>4, nums1))
print(bads)
# Python Program to find numbers divisible
# by thirteen from a list using anonymous
# function
# Take a list of numbers.
my_list = [12, 65, 54, 39, 102, 339, 221, 50, 70, ]
# use anonymous function to filter and comparing
# if divisible or not
result = list(filter(lambda x: (x % 13 == 0 and x>60), my_list))
# printing the result
print(result)
list_filtered = list(filter(lambda tag: tag['age']==22, ages))