-- 根据上述特性,可以使用逻辑运算符实现取最大数,前提是操作数不为nil max_value = (x > y) and x or y -- 当x>y为真时,则返回第二个操作数x,x为真,所以返回x; -- ...
確定! 回上一頁