結果 : how to do one line if statement python