
[format] ValueError: cannot switch from manual field specification to automatic field numbering
비슷한 에러 : ValueError: cannot switch from automatic field numbering to manual field specification python format을 사용할 때 발생할 수 있는 에러이다. print('{}{}{1}'.format('1','2','3')) format 사용법 이는 format 자릿수 때문인데 format을 사용할 때 2가지 방법으로 사용할 수 있다. print('{}{}{}'.format('1','2','3')) print('{}{}{}{}'.format('1','2','3')) {}의 개수와 파라미터 개수가 같아야하며 다르면 위와 같은 에러가 발생한다. print('{2}{0}{1}'.format('1','2','3')) 위는 자리수를자릿수..