python3出現TypeError: can only concatenate str (not "bytes") to str的錯誤,大一剛上手python的學習,望大神解決。感激涕零

 print(city.string + u'\nAQI指數:' + aqi.string+ u'\nPM2.5濃度:' + pm25.string + pm25danwei.string + u'\n空氣質量:' + quality.string + space.sub("",replacechar.sub('',str(result))).encode('utf-8')) TypeError:
相關文章
相關標籤/搜索