TypeError: can only concatenate str (not “int“) to str 怎么解决
文章连接,写的很详细
整数和字符串拼接,需要先把数字转成字符串参考
print('ad'+str(1))