摘要:
1、 + 号拼接 >>> test1 = "abcd" >>> test2 = "opqr" >>> test3 = "xyzh" >>> test1 + test2 'abcdopqr' >>> test2 + test3 'opqrxyzh' >>> test2 + test1 + test3 阅读全文
posted @ 2020-12-26 12:24
小鲨鱼2018
阅读(123)
评论(0)
推荐(0)
摘要:
1、format()位置参数 >>> "abcdabdef".format() 'abcdabdef' >>> "abc{0}dabdef".format("YYYY","MMMM","OOOO") 'abcYYYYdabdef' >>> "abc{1}dabdef".format("YYYY"," 阅读全文
posted @ 2020-12-26 11:57
小鲨鱼2018
阅读(172)
评论(0)
推荐(0)

浙公网安备 33010602011771号