一、三元運算子三元運算子就是在賦值變數的時候,可以直接加判斷,然後賦值格式:[on_true] if [expression] else [on_false]res = 值1 if 條件else ...
確定! 回上一頁