solving question "count number of spaces in a string" (#201)

This commit is contained in:
Juan Manuel Vazquez 2022-01-23 14:19:24 -06:00 committed by GitHub
parent 89d53e4a02
commit b4cfd42a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>