DiscreteMathematics/Lab_1/simplified_calculations.py

7 lines
230 B
Python
Raw Normal View History

2024-03-09 17:44:57 +02:00
def simplified_calculations(input_sets, u_set):
results = []
results.append(u_set - input_sets[0])
results.append(results[0] | input_sets[1])
results.append(results[1] | (u_set - input_sets[2]))
return results