I'm trying to find an element inside of a list. I can print the list's elements completely fine. However, as soon as I try to compare an element inside of a list to a value, it never prints found. I'm trying to check for 47, which is in this simplified list.
db_list = [Albus,15,49,38,5,14,47,14,12]
def main():
    check(47)
       
def check(val):     
    for val in db_list:
        if val in row:
            print("found")
  
main()
 
    