Q. What is the output of the following code?
Code:def sayHello(*name):
print('Hello', name)
sayHello('Yohan', 'Thomas')
β
Correct Answer: (B)
Hello (‘Yohan’, ‘Thomas’)
def sayHello(*name):
print('Hello', name)
sayHello('Yohan', 'Thomas')
You must be Logged in to update hint/solution