Pythonで文字列のすべての文字を小文字に変換の方法

文字をすべて小文字にするには、文字列の`lower()`メソッドを用いるとよいです。例えば、こうです。

string = "Hello World"
lowercase_string = string.lower()
print(lowercase_string)

結果は出力されました

hello world
bannerAds