代码示例:(标识:python_string_in)
python_string_in.py
txt = "China is a great country"
x = "ina" in txt
print(x)
运行结果: