I want to check if any length of value in array is equal to 1. I have an array
SLR = [4, 4000, 4010]
I want to check if any of these values' length: is equal to 1. In this case it's true because there's 4.
I tried to do this that way but of course it failed:
SLR = [4, 4000, 4010]
if(any(len(SLR)) == 1):
print("True")
else:
print("False")