String Iteration in Dart

I’ve just begun my deep dive into Dart. It’s a very nice language, but the string iteration had me scratching my head for a while. I still don’t know if I am doing it the best way to be honest. In most languages the string class will offer a way to iterate over characters. For […]

Iterable in Python

Iterable An iterable is any Python object capable of returning its members one at a time, permitting it to be iterated over in a for-loop, such as lists, tuples, sets and strings – as well as generators. An iterable object implements the __getitem__ and __len__ methods. An object can also implement the __iter__ method to […]