How to check if a letter is in a string in Python

Checking if a letter is in a string returns True if a specified character exists in the string and False otherwise.

Solution for How to check if a letter is in a string in Python : You can use the in operator to check if a letter in a string Use the syntax character in string to return True if character exists in string and False otherwise.


how-to-check-if-a-letter-is-in-a-string-in-python