結果 : how to do if code in python