Gxlsystem TIY Editor
Gxlsystem 在线教程
改变方向
暗黑模式
python_string_placeholder_19.py:
#Use "%" to convert the number into a percentage format: txt = "You scored {:%}" print(txt.format(0.25)) #Or, without any decimals: txt = "You scored {:.0%}" print(txt.format(0.25))