Re: How can i return more than one value from a function to more than one variable

2013-12-23 Thread Simon Hayward
> 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

Re: Fairly OT: Why "flufl"?

2013-02-04 Thread Simon Hayward
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