name_1 = "Max"
name_2 = "Jane"
name_3 = "Tom"
hello_1 = "Hello, %s, %s and %s !" % (name_1, name_2, name_3)
print(hello_1)
hello_2 = "Hello, {}, {}, {}".format(name_1, name_2, name_3)
print(hello_2)
# Hello, Max, Jane and Tom !
# Hello, Max, Jane, Tom
name_1 = "Max"
name_2 = "Jane"
name_3 = "Tom"
hello_3 = f"Hello, {name_1}, {name_2}, {name_3}!"
print(hello_3)
# Hello, Max, Jane, Tom!