I have 2 ranges,
range1=range(80, 90)
range2=range(0,360).
I need to check if range1 is present in range2. Can we compare 2 ranges in Python??
More Info--These ranges are being used to check ports .i.e range2 contains authorized(fixed and pre-define) ports and range1 is changing at run time
if minR1 > minR2 and maxR1< maxR2right?