> basically what I wanna do is this :
>
> x = 4
> y = 7
> def switch (z,w):
> ***this will switch z to w and vice verca***
> c= z
> z=w
> w=c
> print 'Now x =', w, 'and y = ' , z
> return w
> x = switch(x,y)
>
> How am I supposed to do so I can return also a value to th
On Feb 4, 2013 4:27 PM, "nn" wrote:
>
> On Feb 4, 10:10 am, Chris Angelico wrote:
> > This isn't particularly related to the post I'm quoting, it's more a
> > point of curiosity.
> >
> > On Mon, Feb 4, 2013 at 10:53 AM, João Bernardo wrote:
> >
> > Re: [Python-ideas] constant/enum type in stdlib