I'd like to test if 3 is the first number of the element (an integer or the first of a sub-list) like this :
lst=[2, [3,6], [4,1,7]]
3 in lst
The result should be True because 3 is the first element of [3,6].
Btw: my dataset won't make my list like [3, [3,7]] (alone and in a sublist)