#String tests a = " !{} {}! " b = " !{1} {0}! " c = "hello" d = "world" print(a.format(c, d)) print(b.format(c, d)) print(b.format(d, c, a))