Hi,

I had another question:

What is the scope of  a parameter passed to a function? I know its a very basic 
question, but I am just sharpening my basics :)

def func_something(x)

        return print(x+1);

Does x become a local variable or does it stay as a module scoped variable?

Though I think its local, but just want to be sure.

Thanks,
Nav
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to