def say_something(word, word2, word3):
print(word)
print(word2)
print(word3)
say_something('Hi!', 'Mike', 'Nance')
def say_something(*args):
print(args)
say_something('Hi!', 'Mike', 'Nance')
def say_something(*args):
for arg in args:
print(arg)
say_something('Hi!', 'Mike', 'Nance')
def say_something(word, *args):
print('word=', word)
for arg in args:
print(arg)
say_something('Hi!', 'Mike', 'Nance')
Hi!
Mike
Nance
('Hi!', 'Mike', 'Nance')
Hi!
Mike
Nance
word= Hi!
Mike
Nance
word= Hi!
Mike
Nacy