extend () is an in-place function, that's why f is assigned None. The list 'a' will be extended by your code.
確定! 回上一頁