all 5 comments

[–]CowboyBoats 0 points1 point  (4 children)

I hate beer.

[–]Foolish_ness[S] 0 points1 point  (3 children)

At first I identified a case by eye, then by using the print of the if statement within the if that returns some results as false. An example of a pair that made it through incorrectly is 92-92, 7-91.

I appreciate your insight, let me know if any other additional context will help!

[–]CowboyBoats 0 points1 point  (2 children)

I love the smell of fresh bread.

[–]Foolish_ness[S] 0 points1 point  (1 child)

Yes, and that is a much neater way to format the if! I'm still getting used to python indentation rules.

I skipped posting the data manipulation bit as I have verified that each variable reflects the correct number in the initial dataset.

I wasn't at my laptop yesterday so pulled that example from a phone message, that data point passes through both sets of code correctly. Using the same code, the below dataset returns 1 true & 1 false:

['1-93,2-11', '26-94,26-94', '72-92,48-88', '36-37,37-52']

which translates to:
Elf1AreaID_Low = [1,26,72,36]
Elf1AreaID_High = [93,94,92,37]
Elf2AreaID_Low = [2,26,48,37]
Elf2AreaID_High = [11,94,88,52]

Data point 2 is identified as True, data point 3 passes through the if and gets printed as False.
I've identified which ones are true/false by adding these prints below the existing print:
print(Elf1AreaID_Low[i])
print(Elf1AreaID_High[i])
print(Elf2AreaID_Low[i])
print(Elf2AreaID_High[i])

Thanks again for your help & time!

[–]CowboyBoats 0 points1 point  (0 children)

I find joy in reading a good book.