結果 : how to take a boolean input in python