摘要: #设置字符串格式 format="hello world %s,age is %d" values=('wynne',10) print(format %values) #%s为字符转换说明符print("{},{:.2f}".format("wynne",10.3456))#格式设置用:.2f保留 阅读全文
posted @ 2021-11-13 23:22 尹文浩 阅读(32) 评论(0) 推荐(0)
摘要: 这个是一个测试 阅读全文
posted @ 2021-11-13 22:16 尹文浩 阅读(12) 评论(0) 推荐(0)