赵乐ACM

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年3月14日

摘要: 1. String类型输出,看示例x = "There are %d types of people" % 10binary = "binary"do_not = "don't"y = "Those who know %s and those who %s" % (binary, do_not)z = "Those who know %r and those who %r" % (binary, do_not)print xprint yprint zprint "I said 阅读全文
posted @ 2013-03-14 16:24 赵乐ACM 阅读(272) 评论(0) 推荐(0)