<分区>
我目前正在学习 Python。
我该怎么说:
dates = list()
for entry in some_list:
entry_split = entry.split()
if len(entry_split) >= 3:
date = entry_split[1]
if date not in dates:
dates.append(date)
进入 Python 的单行代码?