Articles → Python → Upper Function In PythonUpper Function In PythonIn this article, we will discuss the upper function in Python.Purpose The upper function capitalizes every character of the string.Syntax String_variable.upper()Example mystring = "this is the string with smaller case" print(mystring.upper())Output Posted By - Karan Gupta Posted On - Wednesday, March 13, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
String_variable.upper()
mystring = "this is the string with smaller case" print(mystring.upper())
Query/Feedback