Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
List Overlap
#2
You want "if i in b" not "if a in b". Also the in operator in this case will not be efficient for large inputs. Happy to talk about that if you want but waiting so as to not hijack your thread.
Reply


Messages In This Thread
List Overlap - by Josh_Python890 - Jun-12-2019, 12:00 AM
RE: List Overlap - by micseydel - Jun-12-2019, 12:51 AM
RE: List Overlap - by perfringo - Jun-12-2019, 01:59 AM
RE: List Overlap - by micseydel - Jun-12-2019, 02:47 AM
RE: List Overlap - by kotter - Jun-12-2019, 03:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  List Overlap Trouble erfanakbari1 1 2,106 Mar-18-2019, 02:36 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020