format = "Hello, %s. %s enough for ya" values = ('world', 'Hot') print format % values k = "uid" v = "sa" print "%s=%s" % (k, v)