“{:02d}”.format(i)什么意思 “{:02d}”.format(i)表示将i变为两位十进制数字的字符串,不够两位用0填充。 python 2023-12-15 200 点赞 3 评论 303 浏览