if x: #x is treated True except for all empty data types [],{},(),'',0 False, and None
if x: #x is treated True except for all empty data types [],{},(),'',0 False, and None
https://stackoverflow.com/a/7825137
if x: #x is treated True except for all empty data types [],{},(),'',0 False, and None
https://stackoverflow.com/a/7825137
Comments
Post a Comment