python-CSD-kursu/python-temel/iclemler.if.py

4 lines
80 B
Python
Raw Normal View History

2023-06-11 14:09:37 +03:00
a = [3, 6, 8, 34, 23, 90, 37, 42, 43]
b = [x for x in a if x % 2 == 0]
print(b)