摘要: format用法我理解成了"占位符" Province='广东省' city='广州市' township='白云区' print("省区:{0},市区:{1},乡镇:{2}".format(Province, city, township)) #注意是.format 不是逗号 运行结果: >>>省 阅读全文
posted @ 2022-02-22 09:29 猴年马月 阅读(73) 评论(0) 推荐(0) 编辑