摘要:
s20 = "I am sylar, I'm 14 years old, I have 2 dogs!"count = 0for c in s20: # 迭代器 if 变量 in可迭代的对象 if c.isdigit():# count = count + 1# print(count) # 检查里 阅读全文
摘要:
print("不疼" in "麻花疼") # 结果False print("不疼"in "真不疼") # 结果True 阅读全文