結果 : how to do if variable in python