差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
python:capitalize_upper_lower [2019/06/10 16:49] – ともやん | python:capitalize_upper_lower [2019/07/27 04:59] – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | <ifauth !@loggedinusers>< | ||
+ | <script async src="// | ||
+ | < | ||
+ | | ||
+ | google_ad_client: | ||
+ | enable_page_level_ads: | ||
+ | }); | ||
+ | </ | ||
====== 大文字小文字変換(capitalize, | ====== 大文字小文字変換(capitalize, | ||
行 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() |