Articles → Python → Upper Function In PythonUpper Function In PythonIn this article, we will discuss upper function in pythonPurpose 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 Click to EnlargePosted By - Karan Gupta Posted On - Wednesday, March 13, 2019
Your Email Id
Characters remaining 250
mystring = "this is the string with smaller case"