#strings

[ follow ]
Python
fromPythonmorsels
3 days ago

All iteration is the same in Python

All Python iteration forms use the same iterator protocol; iterating over an object yields its defined iteration items (e.g., dictionary yields keys, string yields characters).
[ Load more ]