先想到的
list = [1, 2, 3, 4]
s =[ x for x in list if x % 2 == 0 ]
print(s[0])
Fill in the blanks to print the first elements of the list, if it contains even number of elements.
正確翻譯:
如果list有偶數個元素,print出list裡的第一個元素
三個空格分別是 len, :, 0