摘要: python中当输出需要拼接字符串(char)和整数(int)时,需要用到str()函数 如果编写如下代码: age = 23 print("Happy " + age +"ed Birthday!") 会出现如下报错: print("Happy " + age +"ed Birthday!") T 阅读全文
posted @ 2023-03-16 15:01 放氮气的蜗牛 阅读(32) 评论(0) 推荐(0) 编辑