Created
October 20, 2022 07:30
-
-
Save RaMSFT/eae8e480d4b98403a705376838fc4190 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def check_title_string(str): | |
#Check if the the string is title string or using string method | |
title = str.istitle() | |
return title | |
print(check_title_string("A Mind Boggling Achievement")) | |
print(check_title_string("A Simple Python Program!")) | |
print(check_title_string("Water is transparent")) | |
print(check_title_string("Learn From Edabit And Medium")) | |
print(check_title_string("I love to Program using Python")) | |
print(check_title_string("This Is Insights And Data")) | |
print(check_title_string("Love To Learn")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment