God I love python

Haven’t been using it for the last while and just came back.

I just realized I could write this little operation to mash together items of a list in a super simple and clear manner. I’m still new at this, but I doubt any other language is a slick as this:


row[5] = " ".join(row[5:len(row) -1])

Delightful.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.