下方的程式將lambda 函式y 與if 判斷式搭配,效果等同於x 函式。 def y(n): if n<10: return True else: return False x = lambda n: True if ...
確定! 回上一頁