upper()
« All String methods
upper(): All chars changed to Upper case
All chars are changed to upper case letters , no parameter is taken by this mehod.
my_str='Welcome to plus2net Python section'
output=my_str.upper()
print(output)
Output
WELCOME TO PLUS2NET PYTHON SECTION
« All String methods lower()→ islower() isupper()→
← Subscribe to our YouTube Channel here
This article is written by plus2net.com team.
https://www.plus2net.com
plus2net.com