Liu Zuo Lin
Aug 19, 2023

--

We can use both list/tuples/other iterables in tuple unpacking - as long as nuber of variables on left == number of variables on right (unless you use *)

--

--

Liu Zuo Lin
Liu Zuo Lin

Written by Liu Zuo Lin

SWE @ Meta | [Ebook] 101 Things I Never Knew About Python: https://payhip.com/b/vywcf

No responses yet