Python 3.8:无法使用list()转换为list; TypeError:“列表”对象不可调用

I am simply trying to convert a zip object to a list like so:

lst = [('a', 1), ('b', 2)]
lst = list(zip(*lst))

but this yields TypeError: 'list' object is not callable. Why can't I use list() to convert ot lists anymore?

评论