How to Convert String to Uppercase in Python
Abstract: Some times you may require to convert any string to uppercase (all letters). This tutorial will help to convert a string (any case) to the upper case
Some times you may require to convert any string to uppercase (all letters). This tutorial will help to convert a string (any case) to the upper case as showing in the below image.
Convert String to Upper CaseUsing Python programming language you can use string .upper()
function to convert any string to upper case. Here is the sample Python code to convert string to uppercase.
Some more examples of the string conversions in Python.
- Convert String to Lowercase in Python