check_for_name() takes two strings as parameters named sentence and name. The function should return True if name appears in sentence in all lowercase letters, all uppercase letters, or with any mix of uppercase and lowercase letters. The function should return False otherwise.
The purpose of the project is just personal learning. I may revisit this code to find different solutions or to apply it under other context.
- Find out why if you use an if - else flow, the sequence should be first if condtion = False, else True.
- Python 3
NA - It's only coding examples, there's no setup.
Project is: finished, - may come back and improve it, or not.
Based on Codecademy's Learn Python 3 course, Code Challenges: String Methods exercises