qq714285405 发表于 2023-7-8 23:46:37

1

GeaAZous 发表于 2023-7-12 15:56:52

1

VPython999 发表于 2023-7-19 10:43:49

w=

隔壁家的杰瑞 发表于 2023-7-27 16:47:54

w = [ each for each in text.replace('\n', ' ').split(' ') if len(each) > 5 ]

让我再睡一会儿 发表于 2023-8-10 12:48:35

w = [*filter(lambda x: len(x) > 5, text.split())]

炎灿法师 发表于 2023-10-13 13:13:41

1

sanchun 发表于 2023-10-15 09:11:06

w =

fanlinhui 发表于 2023-10-24 23:20:49

1

wnnian 发表于 2023-12-6 08:13:10

1

mengtaiqi 发表于 2023-12-16 17:06:25

1

丢的FC 发表于 2023-12-17 18:25:06

1111111111

misajdisajdio 发表于 2023-12-22 10:58:10

w = [ i for i in text.replace('\n', ' ').split(' ') if len(i) > 5]

苗生海海 发表于 2023-12-28 13:02:14

w =
w

headache 发表于 2023-12-28 17:46:44

支持

阿良 发表于 2024-2-15 09:23:25

yanfengdd 发表于 2024-4-8 14:08:38

{:5_108:}

阿钧 发表于 2024-4-8 21:21:20

不会

使命必达 发表于 2024-5-19 14:29:51

list(filter(lambda x : len(x)>5,list(text.split())))

NanShan_bob 发表于 2024-5-22 16:44:58

w = list(filter((lambda x: len(x)>5),text.split()))

weiaiercun 发表于 2024-5-27 19:06:18

dfadf
页: 1 2 3 4 [5] 6
查看完整版本: 请用一行代码找出多于5个字符的单词