python:capitalize_upper_lower

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
python:capitalize_upper_lower [2019/06/10 16:49] ともやんpython:capitalize_upper_lower [2019/07/27 04:59] ともやん
行 1: 行 1:
 +<ifauth !@loggedinusers><html>
 +<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
 +<script>
 +     (adsbygoogle = window.adsbygoogle || []).push({
 +          google_ad_client: "ca-pub-0791334967460971",
 +          enable_page_level_ads: true
 +     });
 +</script></html></ifauth>
 ====== 大文字小文字変換(capitalize, upper, lower) ====== ====== 大文字小文字変換(capitalize, upper, lower) ======
  
行 9: 行 17:
  
 <code python> <code python>
-str = "this is a pen."+str = 'this is a pen.'
  
 str.capitalize() str.capitalize()
 'This is a pen.' 'This is a pen.'
  
-str = "This is a pen."+str = 'This is a pen.'
  
 str.upper() str.upper()
  • python/capitalize_upper_lower.txt
  • 最終更新: 2019/08/19 06:51
  • by ともやん