May-16-2020, 03:41 PM
Hello deanhystad,
I have changed my code according your remarks as follows :
region 1 --> (False,)
region 2 --> (False,)
region 3 --> (True,)
eureka
region 4 --> (False,)
region 5 --> (False,)
region 6 --> (False,)
region 7 --> (False,)
I am used to .NET where this type of behaviour for boolean values is somewhat different.
Problem solved.
Thanks.
I have changed my code according your remarks as follows :
if PointFound_17 == (True,): print('eureka')This is now giving me the desired output :
region 1 --> (False,)
region 2 --> (False,)
region 3 --> (True,)
eureka
region 4 --> (False,)
region 5 --> (False,)
region 6 --> (False,)
region 7 --> (False,)
I am used to .NET where this type of behaviour for boolean values is somewhat different.
Problem solved.
Thanks.