Python学习(三)格式化输出
摘要:
字符串格式化输出:https://blog.csdn.net/py_1995/article/details/84031480 1,%s:占位符,将其他类型强转为string类型,是str(变量)的缩写 name='张三'; age=12; sex='男' print("姓名:%s\n年龄:%s\n 阅读全文
posted @ 2020-01-17 21:52 不愧下学 阅读(176) 评论(0) 推荐(0)
浙公网安备 33010602011771号