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