I tried to find the available methods but couldn't find it. There is no contains. Should I use index? I just want to know if the item exists, don't need the index of it.
contains
index
You use in.
in
if element in thetuple: #whatever you want to do.
2.1m questions
2.1m answers
60 comments
57.0k users