Answers for "python check if first character is capital"

4

how to capitalize first letter in python

# To capitalize the first letter in a word or each word in a sentence use .title()
name = tejas naik
print(name.title())    # output = Tejas Naik
Posted by: Guest on November-22-2020
2

python method to check for uppercase character

a="DEMO"
print(a.isupper())
Posted by: Guest on August-07-2020

Code answers related to "python check if first character is capital"

Python Answers by Framework

Browse Popular Code Answers by Language