📜  python 打印尾随零 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:28.293000             🧑  作者: Mango

代码示例2
text = "hello"
print(text.zfill(10))
Output: '00000hello'