首页 > 代码库 > Exercise 30: Else And If

Exercise 30: Else And If

if __name__ == __main__:        a = 100        if a > 90:                print "90"        elif a > 80:                print 80        elif a > 70:                print 70        else:                print a

 

答案是70

 

Exercise 30: Else And If