def get_names_uppercase(a, b):
# This method returns 2 strings in a tuple.
return (a.upper(), b.upper());
# Get tuple from the method.
result = get_names_uppercase(
"vidiadhar",
"naipaul")
print(result)
# Extract first and second return values.
first = result[0]
second = result[1]
print(first)
print(second)
('VIDIADHAR', 'NAIPAUL')
VIDIADHAR
NAIPAUL