Answers for "check item in list"

0

Python if in list

listttt = ["eee", "yee"]
if "yee" in listttt:
  print("yee")
else:
  print("no.")
Posted by: Guest on October-26-2021

Code answers related to "check item in list"

Python Answers by Framework

Browse Popular Code Answers by Language