You can use the lower() method to lowercase a string in Python.
There are a few different approaches you can take to capitalize the first character of each word in a string in Java.