profile
개발을 잘하고 싶은 개발자

[Solved][Python3]TypeError: expected str instance, int found

작업 환경 Python3 문제 상황 TypeError: sequence item 0: expected str instance, int found 문제 원인 이렇게 생긴 list를 String 문자열로 치환하기 위해print("".join(result))를 사용했다.

2022년 2월 7일
·
0개의 댓글
·
post-thumbnail

[Solved][Python3] TypeError: not all arguments converted during string formatting

Python3TypeError: not all arguments converted during string formattingresult에 num값을 str로 묶어 문자열로 append(추가)넣어두었는데아래에서 resulti%2로 연산을 시도하려 했다가 만난 Error

2022년 2월 7일
·
0개의 댓글
·