# Check if element exists in list in Python # Python code to demonstrate# checking of element existence# using loops and in# Initializing listtest_list = [ 1, 6, 3, 5, 3, 4 ]print("Checking if 4 exists in list ( using loop ) : ")# Checking if 4 exists in list# using loopfor i in test_list:    if(i == 4) :        print ("Element Exists")print("Checking if 4 exists in list ( using in ) : ")# Checking if 4 exists in list# using inif (4 in test_list):    print ("Element Exists")