fname = "John" lname = "Doe" bond_string = "My name is {lastname}, {firstname} {lastname}".format(firstname=fname, lastname=lname) print(bond_string)