python:capitalize_upper_lower

文書の過去の版を表示しています。


大文字小文字変換(capitalize, upper, lower)

capitalize()
upper()
lower()
str = 'this is a pen.'
 
str.capitalize()
'This is a pen.'
 
str = 'This is a pen.'
 
str.upper()
'THIS IS A PEN.'
 
str.lower()
'this is a pen.'
  • python/capitalize_upper_lower.1564171154.txt.gz
  • 最終更新: 2019/07/27 04:59
  • by ともやん