lists = [12, 24, 35, 70, 88, 120, 155]
lists = [ele for ele in lists if ele % 5 == 0 and ele % 7 == 0]
print(lists)

178f42e0bb363ed8a1ce848c2721e524d4031681
<mask token>

<mask token>
print(lists)

lists = [12, 24, 35, 70, 88, 120, 155]
lists = [ele for ele in lists if ele % 5 == 0 and ele % 7 == 0]
print(lists)
