Python String upper() MethodLast Updated : 5 Jan 2026 Python upper() method converts all the character to uppercase and returns a uppercase string. Syntax of Python String upper() MethodIt has the following syntax: ParametersNo parameters ReturnIt returns a string. Different Examples for Python String upper() MethodLet's see some examples of upper() method to understand it's functionality. Example 1First see a simple example of upper() method. This method returns a uppercase string. Output: HELLO JAVATPOINT Example 2See, how can we use this method in programming. The below example converts all the elements of the list into uppercase. See the example. Output: IRFAN SOHAN MOHAN Example 3An example that converts all the string into uppercase which starts with vowels. See the example below. Output: IRFAN AMAN Next TopicPython Strings |
We request you to subscribe our newsletter for upcoming updates.

We deliver comprehensive tutorials, interview question-answers, MCQs, study materials on leading programming languages and web technologies like Data Science, MEAN/MERN full stack development, Python, Java, C++, C, HTML, React, Angular, PHP and much more to support your learning and career growth.
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India