Skip to content

Commit

Permalink
solving question "count number of spaces in a string" (bregman-arie#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmvj authored Jan 23, 2022
1 parent 89d53e4 commit b4cfd42
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3974,6 +3974,15 @@ Detailed answer can be found here: http://codingshell.com/python-all-string-perm

<details>
<summary>Count the number of spaces in a string</summary><br><b>

You can use the "count" method like this:

```python

ImAString.count(" ")

```

</b></details>

<details>
Expand Down

0 comments on commit b4cfd42

Please sign in to comment.