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