标签:
1. print ‘Is your secret number " + str(p) + "?"
2. print ‘Is your secret number %d?"%p
(for multiple integers, you can ‘%d %d %d‘%(num1, num2, num3)
3. print ‘Is your secret number {0}?".format(p)
标签:
原文地址:http://www.cnblogs.com/carlo/p/4556455.html