python 2.7 check if array index has valueint code example Example: how to check if value is in list python >>> letters = [a,b,c,d,e] >>> 'a' in letters: True