16,395 questions
21,880 answers
573 users
lst = [34, 78, 90, 'python', 'java', 'c++'] if 'python' in lst: print('Element is in the list') else: print('Element is not in the list') ''' run: Element is in the list '''