Return more than one value



examples/functions/multiple_return.py
def calc(x, y):
    a = x+y
    b = x*y
    return a, b

t = calc(4, 5)
print(t)
print(type(t))


z, q = calc(2, 3)
print(z)
print(q)

(9, 20)
<class 'tuple'>
5
6