G
Gnarlodious
Say I have a tuple I want to expand assigning to variables:
tup = *func()
var = tup[0]
lst.append(tup[1])
Or could I do it in one line?
var, lst.append() = *func()
So I want to append one variable to a list on the fly, is it possible?
-- Gnarlie
http://gnarlodious.com
tup = *func()
var = tup[0]
lst.append(tup[1])
Or could I do it in one line?
var, lst.append() = *func()
So I want to append one variable to a list on the fly, is it possible?
-- Gnarlie
http://gnarlodious.com