【Python】大文字・小文字の変換
【目的】大文字→小文字,小文字→大文字の変換
【大文字→小文字】
text = "HELLO WORLD" print(text.lower())
【小文字→大文字】
text = "hello world" print(text.upper())
【目的】大文字→小文字,小文字→大文字の変換
【大文字→小文字】
text = "HELLO WORLD" print(text.lower())
【小文字→大文字】
text = "hello world" print(text.upper())