Why this code is working?

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed Jan 14 04:55:47 EST 2009


Hussein B a écrit :
> Hey,
> Why this code is working?
> 
>>>> def f1( ):
> ...      x = 88
> ...      f2(x)
> ...
>>>> def f2(x):
> ...      print x
> ...
>>>> f1( )
> 88
> 


Well... Because it is correct ?

What make you think it _shouldn't_ work ?



More information about the Python-list mailing list