python ValueError: cannot switch from automatic field numbering to manual field specification
ValueError:cannotswitchfromautomaticfieldnumberingtomanualfieldspecification此问题是format()函数前面大括号里没写数字对应后面的()的顺序的值tplt="{:^10}\t{:{3}^8}\t{:^10}"print(tplt.format("排名","学校","总分",chr(12288)))错误tplt="{0:^