Implement str.count and add tests for it.
Also modify mp_get_index to accept: 1. Indices that are or evaluate to a boolean. 2. Slice indices. Add tests for these two cases.
tests/basics/string_count.py
0 → 100644
Please register or sign in to comment