Uppercase String Method in Python

  • Post category:String

In this article, you will see how to use the uppercase string method in Python. The uppercase means converting all letters to uppercase. In Python, you can use the upper() method to uppercase a string.

Step 1: Create a string

Python

Step 2: Uppercase string

Python

Output:

str =  codeallow
str type =  <class 'str'>
Uppercased =  CODEALLOW

Free resources to learn advanced skills: AiHints and CodeAllow