山东智趣岛论坛

标题: count [打印本页]

作者: liuzizheng    时间: 2024-6-29 10:53
标题: count
a=["ajfgdg","ajrh","ajiyo"]
s=0
for i in a:
    c=i.count("aj")
    s=s+c
print(s)







欢迎光临 山东智趣岛论坛 (https://abc.sdzqd.com/) Powered by Discuz! X3.3