How can I clear a list of segments from nested segments (Python)
How can I clear a list of segments from nested segments (Python) Question: My respect, colleagues. I have a list of segments which may include nested segments that should be deleted. For example we have a list (or maybe other data structure) of tuples: [(50, 60), (10, 20), (10, 40), (40, 60), (60, 80), (75, …