2013-05-27 32 views

回答

8

用途:

print ('\"',the_tuple[1],'\"', sep='') 
           ^^^^^^ 

注意,這些逃逸是完全沒有必要的:

print ('"', the_tuple[1], '"', sep='') 

甚至更​​好,使用字符串格式化:

print ('"{}"'.format(the_tuple[1])) 
+0

非常感謝喬恩! –