True和数字相加的结果

python学习网 2019-01-08 12:01:01
num = 5
print(num + True)
# 其结果为6

  

阅读(5062) 评论(0)