can only concatenate str (not "int") to str打印字符类型出错

print("sss"+(i))
提示can only concatenate str (not "int") to str
改为:print("sss"+str(i))

posted @ 2020-06-22 11:35  星月天下  阅读(81)  评论(0)    收藏  举报