Source Code:
(back to article)
str1 = "Hello, World!" print(str1.upper()) # Output: HELLO, WORLD! print(str1.lower()) # Output: hello, world!
Result:
Report an issue