코딩테스트/Python

TypeError: 'int' object is not callable

star빛 2022. 6. 2. 12:33

 

TypeError: 'int' object is not callable

 

예약어를 변수명으로 사용할 경우 오류

예를 들어

sum=0

sum(), min(), max()

예약어를 변수명으로 사용하지 않으면 해결 된다.