結果 : check if two statements are true python