DGrothe-PhD / DGrothe-PhD/Wordchecker
Tech debt notes
Open
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
1. `counter[string] = counter.get(string,0) +1`
```python
def word_count(spam: list[str]) -> dict[str, int]:
counter = {}
for string in spam:
counter[string] = counter.get(string,0) +1
return counter
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.