The output of the expression {0 if i%2 ==0 else 1 for i in range(8)} is _______. code example
Example: list comprehension
# List comprehension
list_comp = [i+3 for i in range(20)]
# above code is similar to
for i in range(20):
print(i + 3)