Run
nums = [41, 62, 70, 82, 100] x = 99 if x in nums: print('value is present in the list.') else: print('value is not present in the list.')
Output