---
title: "Comment by Siddharth Chandra on \"8 explained examples of list comprehension in Python\" | Hashnode"
description: "Totally agree with you on that list comprehensions work faster than traditional loops. Generally, if we write more pythonic code, it will always be more time-ef"
url: "https://hashnode.com/posts/8-explained-examples-of-list-comprehension-in-python/60754383308cd51e1478008c/comment/6077db6ba3407a32d7042b03"
---

[Discussion](https://hashnode.com/posts/8-explained-examples-of-list-comprehension-in-python/60754383308cd51e1478008c)

Comment [8 explained examples of list comprehension in Python](https://hashnode.com/posts/8-explained-examples-of-list-comprehension-in-python/60754383308cd51e1478008c)

[Siddharth Chandra](https://hashnode.com/@chandraji)

[Apr 15, 2021](https://hashnode.com/posts/8-explained-examples-of-list-comprehension-in-python/60754383308cd51e1478008c/comment/6077db6ba3407a32d7042b03)

Totally agree with you on that list comprehensions work faster than traditional loops. Generally, if we write more pythonic code, it will always be more time-efficient I think.

[GirlThatLovesToCode](https://hashnode.com/@GirlThatLovesToCode)

[Apr 15, 2021](https://hashnode.com/posts/8-explained-examples-of-list-comprehension-in-python/60754383308cd51e1478008c/comment/6077db6ba3407a32d7042b03#reply-6077e82fa3407a32d7042c00)

It's definitely more pythonic. But I did some research and it should be faster on simpler cases, but not on more complicated ones.

[Siddharth Chandra](https://hashnode.com/@chandraji)

[Apr 15, 2021](https://hashnode.com/posts/8-explained-examples-of-list-comprehension-in-python/60754383308cd51e1478008c/comment/6077db6ba3407a32d7042b03#reply-6077e9074155da32fc83bb7b)

Yeah, I feel like as the complexity increases, python code execution tends to be slower irrespective of its pythonic nature 😅

[GirlThatLovesToCode](https://hashnode.com/@GirlThatLovesToCode)

[Apr 15, 2021](https://hashnode.com/posts/8-explained-examples-of-list-comprehension-in-python/60754383308cd51e1478008c/comment/6077db6ba3407a32d7042b03#reply-6077ea9fa3407a32d7042c4b)

This is an interesting idea 😅
