RE: Functions Not Fun (yet)-please help!

2011-01-16 Thread Joe Goldthwaite
Hi Kathy, The defaults only get assigned when you leave them out of the list. This will work the way you want by setting b & c to the defaults. print my_func(a) When you try this; a = "testing" b = "defaults" print my_func(a, b, c)

Re: Functions Not Fun (yet)-please help!

2011-01-16 Thread Emile van Sebille
On 1/16/2011 6:49 AM Cathy James said... Dear all, I can't thank you enough for taking time from your busy schedules to assist me (and others) in my baby steps with Python. Learning about functions now and wondering about some things commented in my code below. Maybe someone can break it down fo