Python使用(...)连接字符串
Python 字符串连接的灵活性。
使用括号来组织多行字符串时的自动拼接。
e e
var_str g*3connect_str (fa{e}bcvar_strh
)print(connect_str)
print(type(connect_str))
运行结果: aebcgggh <class str> 解释: 定义变量: e e:…
建站知识
2024/7/6 0:33:36