Advertisement



< Prev
Next >



Python - String upper() Method



The upper() string method is used to convert only the all the lowercase characters in a string to upper case letters.

Note : None of the string methods change the original string and only return a new string which reflects the change performed by the string method, hence the returned string must be stored or used(if needed to reflect the result), otherwise it is lost.



Signature of upper()


The upper() method has no parameters, so we don't have to worry about passing it some value.

# Signature of upper() method 
upper()




Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement