I am having problems with a for loop. I have a list consensusSize which contains a range of random numbers. I only want to print if the number is greater than 50 and less than 200. Instead it is outputting all of them- want am I doing wrong?
for i in range(0, len(consensusSize)):
... if consensusSize[i]>50 or consensusSize[i]<200:
... print(consensusSize[i])