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