def hello(names):
for name in names:
print(f"Hello, {name}!")
names = ("Max", "Jane", "Tom")
hello(names)
def hello(*names):
for name in names:
print(f"Hello, {name}!")
hello("Max", "Jane", "Tom")
def hello(*args):
for name in args:
print(f"Hello, {name}!")
hello("Max", "Jane", "Tom")