I just learned there are truthy and falsy values in python which are different from the normal True
and False
.
Can someone please explain in depth what truthy and falsy values are? Where should I use them? What is the difference between truthy and True
values and falsy and False
values?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…