Skip to content

Convert a string to lowercase or uppercase

To convert a string to lowercase, you can use the str.lower() method and the str.upper() method to convert to uppercase:

(source)
(source)

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.