Jun-12-2019, 12:51 AM
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.