如何用python方式在一行中写这个?

sam*_*ara 1 python tuples list

我是python的新手,想知道我是否可以将以下for循环转换为pythonic方式的一行代码:

w_topic = []
for line in lines: #lines is a list of strings
    word,topic = itemgetter(4,5)(line.split())
    w_topic.append((word,topic))
Run Code Online (Sandbox Code Playgroud)

我查看了列表推导但不确定如何在此处应用它?有可能在一条线上吗?我怎么知道某些东西是否可行是pythonic方式的一行?

[(w,t) for w,t in how to fill  here?]
Run Code Online (Sandbox Code Playgroud)

ins*_*get 5

get = operator.itemgetter(4,5)
w_topic = [get(line.split()) for line in lines]
Run Code Online (Sandbox Code Playgroud)