zguangj

导航

 

2022年6月20日

摘要: python输出的几种方式 更多技术博客,请关注微信公众号:运维之美 1. str.format() 使用 直接用花括号 print('My name is {},{} years old!'.format('xiaoming','28')) 使用格式化字段 print('My name is {0 阅读全文
posted @ 2022-06-20 16:17 运维之美^_^ 阅读(27) 评论(0) 推荐(0)