Python3 运算符(逻辑运算符) Python语言支持逻辑运算符,以下假设变量 a 为 10, b为 20: #!/usr/bin/python3 a = 10 b = 20 if ( a and b ): print (