Is it possible to pass a parameter by reference?

Anthony Liu antonyliu2002 at yahoo.com
Sun Feb 27 00:03:51 EST 2005


I defined two functions, f1 and f2.  

f1 modifies the value of a variable called apple.

I want to pass the modified value of apple to f2.

How can I do this?  I got stuck.


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail



More information about the Python-list mailing list