Program:
def myfun():
return 1, 2, 3
a, b, c = myfun()
print(a)
print(b)
print(c)
OUTPUT:
1
2
3
NOTE: Although it looks like 'myfun()' returns multiple values, but actually a tuple is being created here. It is the comma that forms a tuple, not the parentheses, unless it is absolutely required there, such as in the case of a blank tuple.