Python 条件判断(if)的几种格式 1. if a = 1b = 2if a < b: print 'a is less than b'2. if else a = 1b = 2c = 0if a 0: print 'yes'else: print 'no'3. if elif elsea = 1b = 2c = 0if a 0): print 'yes'elif # PYTHON 2023-05-26 44 点赞 0 评论 66 浏览