Aug-22-2019, 07:44 AM
Thank you for confirming that suspicion.
I will inscribe:
def func(*items):
items = list(items)
With my biggest, thickest magic marker into my notebook.
In all the books and videos I have on teaching python this fundamental rule has not been mentioned, unless I was braindead while I glossed over it!
Its a critical one for me. For my purposes, tuples make little sense, as mutable lists(arrays) are one of the main purposes for me even bothering to learn python.
I will inscribe:
def func(*items):
items = list(items)
With my biggest, thickest magic marker into my notebook.
In all the books and videos I have on teaching python this fundamental rule has not been mentioned, unless I was braindead while I glossed over it!
Its a critical one for me. For my purposes, tuples make little sense, as mutable lists(arrays) are one of the main purposes for me even bothering to learn python.