結果 : intersection of two intervals python