Wynn_0303 发表于 2023-1-27 21:09:03

打卡

155185 发表于 2023-1-31 17:18:22

we =
weo = == '4']
报错

chenbocauc 发表于 2023-2-1 23:12:59

666

Luce 发表于 2023-2-2 14:23:20

复习打卡完成

jspinger1987 发表于 2023-2-17 17:30:59

打卡{:5_109:}

littlewhale 发表于 2023-2-28 16:07:14

打卡~~~

YaphetS-Python 发表于 2023-3-2 22:37:24

列表推导式if嵌套,简洁胜于复杂。

Mever 发表于 2023-4-7 00:59:06

flatten =
这句就没看懂 ,哭了,能再解释一下吗

来自成都的momo 发表于 2023-4-8 00:07:30

课后题虐我千百遍,我待python如初恋{:10_266:}

harrydeng 发表于 2023-4-25 23:42:51

{:10_256:}{:10_256:}

justsingmysong 发表于 2023-6-4 22:06:06

1024

暴躁小熊猫 发表于 2023-6-6 23:39:25

>>> S = ["Sun", "Suny", "Today", "Funny", "Happy", "Fantastic"]
>>> even = == 'S']
>>> even
['Sun', 'Suny']
这样是筛选"S"开头的,如果我还要筛选"F"开头的,实现['Sun', 'Suny', "Funny", "Fantastic"]应该怎么写?请指教,谢谢!

137430724 发表于 2023-10-23 16:26:51

155185 发表于 2023-1-31 17:18
we =
weo === '4']
报错

we=['1', '2', '3', '333', '45', '884', '4', '6', '484']
应该是字符串

137430724 发表于 2023-10-23 16:30:23

暴躁小熊猫 发表于 2023-6-6 23:39
>>> S = ["Sun", "Suny", "Today", "Funny", "Happy", "Fantastic"]
>>> even === 'S']
>>> even


even = == 'S'or i == 'F' ]

JTYBLCC 发表于 2024-7-18 17:51:51

学完打卡

zengjun2 发表于 2024-8-22 14:33:10

打卡

jingzhe 发表于 2024-8-30 14:48:42

为什么这个就分开了呢
>>> A = * 3
>>> for i in range(3):
...   A = * 3
...
>>> A
[, , ]
>>> A = 1
>>> A
[, , ]

sunshine_8205 发表于 2024-12-3 15:26:45

{:5_106:}
页: 1 2 [3]
查看完整版本: 第025讲:列表(VII)