[David Eppstein] >In another place I used the dictionary directly > but it amounted to the same thing. All respondents prefer having a dictionary (elements mapped to counts) instead of an itertool returning (cnt, elem) ... Just to be clear before I do it, does everyone support having dict.countkeys() as a dictionary classmethod instead of the original proposal? Raymond
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4