returns a tuple : Return : Function PYTHON TUTORIALS


PYTHON TUTORIALS » Function » Return »

 

returns a tuple


def bar():
    return 'abc', [42'python'], "Guido"

aTuple = bar()
x, y, z = bar()
(a, b, c= bar()
print aTuple
print x, y, z
print (a, b, c)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Function
» Return