三元運算:name = "GOGOGO" if True else "HAHA"登入後複製等同於:if True: name = "GOGOGO" else: name = "HAHA" print (name)登入後複製執行結果: GOGOGO lambda: f2(a1,a2): return a1 +a2 t = f2(1,2) lambda無法使用if,else等條件判斷