"""
List Comprehention
Formula
[Expression for item in List

"""
num = [1,2,3,4,5]

ans = list(filter(lambda x: x%2 == 0 ,num))

print(ans)


ans = [x for x in num if x%2 == 0]

print(ans)





44be87442be8d14a32bf29c30492cec5957fa52a
<mask token>

<mask token>
print(ans)
<mask token>
print(ans)

<mask token>
num = [1, 2, 3, 4, 5]
ans = list(filter(lambda x: x % 2 == 0, num))
print(ans)
ans = [x for x in num if x % 2 == 0]
print(ans)

"""
List Comprehention
Formula
[Expression for item in List

"""
num = [1,2,3,4,5]

ans = list(filter(lambda x: x%2 == 0 ,num))

print(ans)


ans = [x for x in num if x%2 == 0]

print(ans)




