python if else语句

if 2 < 1:
    print("if")
else:
    print("else")
    
    
if 2 < 1:
    print("if")
elif 2 == 1:
    print("elif")
else:
    print("else")

image

image

原文地址:https://www.cnblogs.com/helloweworld/p/2941794.html