python字符串格式化输出
# 字符串拼接,字符串格式化输出 message = "我叫{0},今年{1}岁。".format("张三","19") print(message) # 特殊字符串拼接 name = ["张三","李四","王五","赵六"] new_name = &qu
# 字符串拼接,字符串格式化输出 message = "我叫{0},今年{1}岁。".format("张三","19") print(message) # 特殊字符串拼接 name = ["张三","李四","王五","赵六"] new_name = &qu