f = "fst" s1 = "snd" print("first is %()s, second is %(snd)s" % {f: 1, s1: 2})