I'm sorry to repeat the same thing all over again but I've already searched but I still can't solve my problem...
If I want to change a single "int" value, do I HAVE to create a list? It's a mess. It's quite more comfortable in C... (like void function(int a, b, c, *d, *e, *f))
This is what I'm trying to do (I HAVE to change "d", "e", "f"):
d = 4
e = 9
f = 11
def function(a,b,c,d,e,f)
   a = something
   b = something
   c = 1
   d = 2
   e = 3
   f = 4
Having said this, do I have to create a dictionary or a list to handle simple numbers? I'm still a newbie but I'd like to know what's the best solution for this problem that is scrambling my mind lately.
Thank you guys.
d,e,f = function(a,b,c,d,e,f), but I guess there are better ways.tuple objectthat hosts several other objects. These are new objects and get to be referenced in the place of the old objects when you do the sequence unpacking.a = 5and thena = 7. This assigns a different object to the reference, and due to the nature of the python garbage collection (reference counting) theintobject 5 gets garbage collected some time after the second statement.