I have a issue with python.
I make a simple list:
>>> my_list = [\"one\",\"two\",\"three\"]
I want create a \"single line code
Found this one:
[x for (i,x) in enumerate(my_list) if my_list[i] == "two"]
Will print:
["two"]