It converts the first character of the string to uppercase and the rest of the remaining characters to lowercase. It does not modify the original string.
str1 = "welcome to fresherbell PYTHON tutorial"
Welcome to fresherbell python tutorial
welcome to fresherbell PYTHON tutorial
In the above program "welcome" is converted to "Welcome" and "PYTHON" is converted to "python". But, it does not modify the original string.
Best learning portal that provides you great learning experience of various technologies with modern compilation tools and technique
Don't hesitate to give us a call or send us a contact form message