+ 6
What other languages except Python support list comprehension?
It took me a while, but I now realised why I absolutely love Python, its due to list comprehension. The satisfaction from making something complex happen by writing a simple sentence is incredible. Hence my question. Ive done all 12 courses in Sololearn, but that does not mean I know them. It took me alot of tinkering in Python to firstly become aware and secondly to become comfortable with list comprehension.
3 Answers
+ 4
{
*whispers*
"C#"
*Fades*
}
+ 4
Google is my friend:
https://en.m.wikipedia.org/wiki/Comparison_of_programming_languages_(list_comprehension)
+ 4
I did google few mins ago and found this:
http://preshing.com/20141202/cpp-has-become-more-pythonic/
my search was "List comprehension in C++"