Marcin 'Qrczak' Kowalczyk wrote:

> It should be:
> 
> var x = 0
> def f():
>    print x
>    x = 3
> 
> for the global variable, and:
> 
> var x = 0
> def f():
>    var x
>    print x
>    x = 3
> 
> for the local variable.

so the goal of this exercise is to make it easier to introduce 
hard-to-spot errors by accident?

</F>

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to