`
hankgong
  • 浏览: 196048 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

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")


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics