📜  python if string contains char - Python代码示例
📅  最后修改于: 2022-03-11 14:45:49.718000             🧑  作者: Mango
代码示例3
string = 'ex@mple'
if '@' in string:
return True
if '@' not in string:
return False