Readline Stripping [python]

That is a terrible title. ~ I've been working through Coursera's bioinformatics 1 course with P.Compeau and P.Pevzner. It has a coding component on its companion stepic website. I just spent the past half hour meticulously debugging why I was getting correct answers on the small case sets, but wrong answers on the larger test … Continue reading Readline Stripping [python]

Advertisements

Python: Iterator, Generator, Yield

My understanding of this post on s/o Iterators: An object whose items can be read one by one. Values stored in memory (can be expensive), and values are re-accessable Generators: are iterators, but can only be iterated only once, because data isn't stored in memory, but created on the fly. Yield: is like return, but … Continue reading Python: Iterator, Generator, Yield