Python的if....else

a = 5
b = a ==1
if b:
print("说明a是1")
print("说明a真的是1")
else:
print("说明a不是1")

print("程序结束")

 

 


posted on 2018-10-06 15:15  尚书房行走  阅读(158)  评论(0编辑  收藏  举报

导航