Convert All Lowercase Characters in a String to Uppercase using Python

upper method

text = 'Hello world'
result = text.upper()

print(result)  # HELLO WORLD

Leave a Comment

Cancel reply

Your email address will not be published.