TypeError: 함수 missing 숫자 required positional argument: '인자값'

·2023년 9월 6일
0

에러

목록 보기
5/24

TypeError: dfs() missing 1 required positional argument: 'n'

dfs 를 구현해서 n-queen 문제를 해결하던 중 이런 오류가 떴다. 재귀함수를 불러줄 때 인자를 세 개 넣어줘야 하는데 두 개만 넣어서 나온 오류
https://stackoverflow.com/questions/44531170/python-is-throwing-typeerror-add-nodes-missing-1-required-positional-argument

profile
공부 중

0개의 댓글

관련 채용 정보