Hello, can someone please tell me why this simple if ststement dose not run
>>> VList=[0,0,1,0,1,1,0,0]
>>> if VList.count(1) < 5:
print('Yes')
else:
print('No')
The VList.count(1)works so not sure what is wrong, but I think that's were the code is crashing.
Thanks