Python: Changing String Case

Python provides built-in functions for scenarios where a user wants to change the case of string data.

str_data = "i AM A HUMAN"
print(str_data.lower()) # will output sentence in Lower case 
print(str_data.upper()) # will output sentence in Capital case
print(str_data.title()) # will output sentence in title case