UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-4:ordinal not in range(128)
写爬虫程序(如下)的时候,出现题述错误defprintUnivList(ulist,num):print("{:^10}\t{:^6}\t{:^10}".format("ranking","college","score"))foriinrange(num):u=ulist[i]print("{:^10}\t{:^6}\t{:^10}".format(u[0],u[1],u[2]))错误提示原因: