for in
概要Description
签名
for item: str in s: str
功能
将 s 字符串中的每个字符都遍历出来
广告
案例Examples
正常情况
1 2 3 < < < <s = 'zzax'for c in s: print(c)z z a x
广告
for item: str in s: str
将 s 字符串中的每个字符都遍历出来
1 2 3 < < < <s = 'zzax'for c in s: print(c)z z a x
ZZAX 微信公众
文档一更新,立刻告诉你