Back to Browse

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

6.0K views
Oct 1, 2021
4:09

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!

Download

1 formats

Video Formats

360pmp44.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

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