As mentioned this is not a comprehension since there is no iterator.
[x for x in object if x % 2 == 0]
In the above,
x is the iteration variable,
for..in is the iterator,
object is the iterable, and
if is the conditional that determines if
x is appended to the output list.
return lst1 if sum(lst1) >= sum(lst2) else lst2
sum(lst1) >= sum(lst2) ? lst1 : lst2;