uyfrjk 发表于 2017-5-8 12:17:47

python中布尔量和整型的关系

  


>a = True
>b = True
>int(a)
1
>a+b
2
 
页: [1]
查看完整版本: python中布尔量和整型的关系