标签:
1. string concatenation
print "You " + "and " + "Me" -- You and Me
#Make sure you include the spaces after "You" and "and"
2. print ? Date and Time 4/6
print "%s/%s/%s" % (now.month, now.day,now.year) and
print ‘%s/%s/%s‘% (now.month, now.day,now.year)
单引号和双引号结果相同?
标签:
原文地址:http://www.cnblogs.com/njuzwr/p/4413736.html