Python One Line If Not None ... To assign the result of a function get_value() to variable x if it is different from None , use the Walrus operator if tmp := ...
確定! 回上一頁