Python数据结构-元祖

print('%s is %d'%('Tom',5))
print('Tom is %d'%5)     #等价于: print('Tom is %d'%(5))

相关推荐