Day 33: #100DaysOfCode 2019

Python list comprehensions with #DataCamp this morning.

Published by Pat McDonald

Family man, carer, student of data analytics @GMIT.

Join the Conversation


      1. Glad I could help! List comprehensions can be a lot of fun, but I don’t know if they’re considered good practice. After all, the syntax can be hard to read. That said, I really enjoy getting them to work. There’s just something about generating a list in a line of code that’s beats the heck out of writing a loop.

        Liked by 1 person

Leave a comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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

%d bloggers like this: