Answers for "python check character exists in string"

0

python check character exists in string

string = 'ex@mple'

if '@' in string:
	return True

if '@' not in string:
	return False
Posted by: Guest on June-16-2021

Code answers related to "python check character exists in string"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language