@Anonymous User that was hilarious! So, waiting for the next person to do that in zero line! 😂
Jokes aside, that's cool. And I love list comprehensions. I used to write pretty long ones but after a while I realized that there are certain problems associated with long list comprehensions.
First, after a certain point it negatively affects the readability and it becomes harder to read and understand the logic.
Second, in case of errors, since a lot is happening inside the list -without making intermediate variables available to us- that makes it very hard to debug.
I thought it worth mentioning for those who just learned about this concept.
BTW, If you want to go rogue on that, you can throw some ifs and lambdas there and then watch it burn. 😁