結果 : write a program to perform logical operations in python