xxxxxxxxxx
a = "Hello, World!"
print(a.upper())
#Output: HELLO, WORLD!
print(a.lower())
##Output: hello, world!
xxxxxxxxxx
_str = "Hello World!"
print(_str.upper()) # HELLO, WORLD!
print(_str.lower()) # hello, world!
print(_str.swapcase()) # hELLO, wORLD!