We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
print('{:.2f}'.format(3.1415))
输出3.14
3.14
print('{:10d}'.format(4))
输出 4
4