KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
How efficient/fast is Python's 'in'? (Time Complexity wise)
Asked 2012-10-15T23:37:46.390
▲
43
▼
In Python, what is the efficiency of the
in
keyword, such as in:
a = [1, 2, 3] if 4 in a: ...
python
performance
time-complexity
operator-keyword
Copy Link
Twitter
Facebook
LinkedIn
Share
Edit
Save
Report
Add comment
0 Answers
Your Answer
Post Your Answer