본문 바로가기

Programming/Python (파이썬)

Python string capitalize

In Python, the capitalize() method converts the first character of a string to capital (uppercase) letter. If the string has its first character as capital, then it returns the original string.

 

www.geeksforgeeks.org/string-capitalize-python/#:~:text=In%20Python%2C%20the%20capitalize(),it%20returns%20the%20original%20string.