差分
このページの2つのバージョン間の差分を表示します。
| 次のリビジョン | 前のリビジョン | ||
| python:count [2019/06/10 16:58] – 作成 ともやん | python:count [2019/08/19 06:52] (現在) – ともやん | ||
|---|---|---|---|
| 行 3: | 行 3: | ||
| ===== count ===== | ===== count ===== | ||
| <code python> | <code python> | ||
| - | count("文字列"[, 開始位置[, | + | count('文字列'[, 開始位置[, |
| - | <//code> | + | </ |
| <code python> | <code python> | ||
| - | str = | + | str = ' |
| + | |||
| + | str.count(' | ||
| + | 3 | ||
| + | |||
| + | str.count(' | ||
| + | 0 | ||
| </ | </ | ||