공부
[Python] find in list
승가비
2020. 5. 18. 01:45
728x90
3 in [1, 2, 3] # => True
https://stackoverflow.com/questions/9542738/python-find-in-list
Python: Find in list
I have come across this: item = someSortOfSelection() if item in myList: doMySpecialFunction(item) but sometimes it does not work with all my items, as if they weren't recognized in the list ...
stackoverflow.com
728x90