結果 : boolean algebra in python