If statement with no logical operators in python

后端 未结 4 1253
[愿得一人]
[愿得一人] 2021-01-14 21:54

I have the following python code:

value = 1.9

if value:
    #do something
else:
    #do something else

What happens here? I can\'t underst

4条回答
提交回复
热议问题