Mega Code Archive

 
Categories / Python Tutorial / String
 

Print paired with the string format operator ( % )

print "%s is number %d!" % ("Python", 1)