/  upper() method in Python String Module

upper() method in Python String Module


upper methodin string module returns all the lowercase alphabets in a string into uppercase.


Syntax:

Str.lower()


Example-1:

text = "today is friday"
x = text.upper()
print(x)


Output: