Function Details: upper

Description


Returns a copy of the string converted to uppercase.


Extended Description


The upper() method returns a new string where all characters are converted to uppercase. Characters that are already uppercase or are not alphabetic remain unchanged.


Read More about upper from Python Documentation

Function Signature



Module: builtins

Class: str

Parameters



Return



Return Type


str

Output

Explanation