Python - Multiple Function Output and Unpacking - Code Example - Python Tutorial Videos APPFICIAL

Veröffentlicht am: 01 Oktober 2021
auf dem Kanal: Appficial
5,944
39

A python function can return multiple values as either a tuple or list.
def some_function():
code
return (x, y)

Unpacking – does multiple assignments at once.

a, b = some_function()

Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!


Auf dieser Seite können Sie das Online-Video Python - Multiple Function Output and Unpacking - Code Example - Python Tutorial Videos APPFICIAL mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Appficial 01 Oktober 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,944 Mal angesehen und es wurde von 39 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!