結果 : convert string to comparison operator python