运维网's Archiver
论坛
›
Python
› python print formating
YY-LIN
发表于 2017-4-22 06:55:10
python print formating
Python's print command is not convenient to use comparing with ruby. Now it finally came a good solution.
"The sum is {0}+{1}={2}".format(1, 2, "ddfd")
页:
[1]
查看完整版本:
python print formating