Make First Letter Uppercase and the Rest Lowercase in a String using Python July 23, 2021 Python 0 Comments 488 Views capitalize method text = 'hello WORLD' result = text.capitalize() print(result) # Hello world
Leave a Comment
Cancel reply