Donate SIGN UP

Upper Case Character In Python

Avatar Image
bharani10 | 11:22 Fri 31st Jan 2020 | Jobs & Education
4 Answers
I am beginner in python . I have doubt in python upper case. if any one explain this?
Gravatar

Answers

1 to 4 of 4rss feed

Best Answer

No best answer has yet been selected by bharani10. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
The Upper()method returns the uppercased string from the given string. It converts all lowercase characters into uppercase.If no lowercase characters exist, it returns the orignal string.
Do you want to get rid of all your doubts in Python?
Then don't worry...! I am here to help you with all your doubts. The best suggestion to get rid of all your doubts in Python, I strongly suggest you go with the perfect Online Tutorial for Python.
There is a lot of E-Learning Platforms that providing Python Tutorials Online especially for newbies like you. Don't hesitate to log on to ➡ http://bit.ly/python3basics

In Python, the term "upper case" typically refers to converting all characters in a string to uppercase letters. This is achieved using the upper() method. For example, if you have a string like "hello" and apply the upper() method, it becomes "HELLO". This operation is useful for standardizing text or making comparisons case-insensitive. The method doesn't alter the original string but creates a new one with all uppercase characters. To use it, simply call upper() on the string variable or string literal. It's a handy function for manipulating and working with strings in a consistent manner within your Python programs.

 

 

 

 

 

In Python, converting text to uppercase involves using the upper() method, which transforms all lowercase letters in a string to uppercase. Conversely, converting text to lowercase uses the lower() method, which changes all uppercase letters to lowercase. These methods are handy for case-insensitive comparisons, formatting, and other text manipulations in Python programs.

1 to 4 of 4rss feed

Do you know the answer?

Upper Case Character In Python

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.