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