Written on
·
123
0
'''def delete_a_list_element(list_data, element_value):'''
'''result = []'''
'''for i in range(len(list_data)):'''
'''if not list_data[i] in element_value:'''
'''result.append(list_data[i])'''
'''if len(result) == 0:'''
'''result.append(0)'''
'''return result'''
이런 식으로 코드를 작성 했는데 테스트를 해보면 출력은 맞게 잘 되는데 과재를 재출하면 틀렸다고 뜨는데 이유를 알수있을까요..?
Answer