基本
- Pythonのインストールとhello worldを表示する(Windows10)
- Python if文のサンプル
- Python for文とbreakとcontinueのサンプル
- Python while文とdo…while文にあたる書き方のサンプル
- Python 関数のサンプル
- Python リストのサンプル
- Python タプルのサンプル
- Python ディクショナリのサンプル
- Python セットのサンプル
文字列
- Python 文字列を操作するサンプル
- Python 文字列の始め/終わりを確認するサンプル(startswithとendswith)
- Python 文字の位置を取得するサンプル(find/index)
- Python 文字列を区切り文字で分割するサンプル(split)
- Python 文字列の大文字と小文字を変換(upper/lower/capitalize/swapcase/title)
- Python エスケープシーケンスとraw文字列のサンプル
- Python 文字列の先頭と末尾を削除するサンプル(strip)
- Python 文字列の置換のサンプル(replace)