4.2.2 - Logical and/or Operators

来源:互联网 发布:51管家 怎么绑定淘宝 编辑:程序博客网 时间:2024/06/05 22:31
x = 10y = 20if x > 5:     if y > 5:        print("something")                if x > 5 and y > 5:    print("something")    if x > 5 or y < 10:    print("something")    

0 0