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")
本文探讨了Python的print命令与Ruby之间的差异,并最终提出了一个有效的解决方法,通过示例展示如何在Python中实现类似Ruby的功能。
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")
351
786

被折叠的 条评论
为什么被折叠?