#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목2022 1학기 7번 질문드립니다2024-01-14 18:00
작성자

def removeCustomerByName(self, c):
        count=0
        for key, value in self.db.items():
            if value == c:
                del self.db[key]
                count+=1
        if count!=0:
            return self.db
        else:
            return -1
어느 부분이 틀렸는지 궁금합니다
댓글