char = ‘abcdefghijklmnopqrstuvwxyz’

1)方法1
if “abc” in char:
     print(“找到啦”)

2)方法2
if char.find(“abc”) >=0:
    print(“找到啦”)