# https://www.globalsino.com/ICs/
# Check if an item is in a list

theList = ["Both", "and", "None", "False", "Both", "Dates", "Data", "Apple", "Both", "code", "Both"]

if 1 == 1:
    theItemA = "Both"
    if theItemA in theList:
        print("The iterm is in the list.")

if 2 == 2:
    theItemB = "HIMY"
    if theItemB in theList:
        print("The iterm is in the list.")
    else:
        print("The iterm is not in the list.")

if 2 == 2:
    theItemB = "HIMY"
    if theItemB not in theList:
        print("The iterm is not in the list.")
    else:
        print("The iterm is in the list.")

