小编Ste*_*obs的帖子

TypeError: can only concatenate str (not "int") to str 这是什么意思?

def myFunc(King):
    print("The characters name is " + King.name + " and age is " + King.age)
Run Code Online (Sandbox Code Playgroud)

如何将 int 链接到字符串?

python python-3.x

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

python ×1

python-3.x ×1