↻
⏵︎ Run
set_1 = {'a', 'b', 'c'} item = 'f' if item in set_1: set_1.remove('f') else: print('item not in set')
Output