結果 : convert user input to boolean python