y
> else:
> x -= 1
> y += 1
> add(x, y)
>
> print add(2, 4)
>
> result:
> 6
> None
Perhaps this hint will help:
>>> print add(0,6)
6
6
--
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Of course a weed-puller isn&
only
> user. But are those 10 modules the same 10 modules that other folks
> need? I don't know...
>
> Of course, the only way to find out is to try...
Or you can just look up the module you need to write a 'bot to
constantly look up the
7;ll just have to put
> up with the ambiguities. Or perhaps, given my (lack of) typing skill, I
> should just start signing myself "Stvev"?
What's this doing *here*? I thought the discussion of the pitfalls of
name rebinding was taking place in the "variable declaration&q
turn a new dict with string keys and lists containing the
> previous keys for repeated values.
>
> NewDict = {'This is repeated':['rt','sr'],'This is not':['gf']}
NewDict = {}
for x in Dict.keys():
try:
NewDict[Dic
I would be interested in an alternative approach which does not
generate a ton of intermediate pdfs.
--
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
It is difficult for men in high office to avoid
the malady of self-delusion.- Calvin Coolidge
--
http://mail.python.org/mailman/listinfo/python-list
Q: What multiple of 7 did I add to the critical expression in the Zeller
algorithm so it would remain nonnegative for the next few centuries?
--
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
People who write obscurely are either unskilled in writing
or up to mischie
[EMAIL PROTECTED] (John Machin) writes:
> [EMAIL PROTECTED] (Mark Jackson) wrote in message news:<[EMAIL PROTECTED]>...
> >
> > A: 42
> >
> > Q: What multiple of 7 did I add to the critical expression in the Zeller
> > algorithm so it would remain
> the re class for example.
>
> Somebody called O'Reilly taught you that Python has "standard
> classes", one of which is "re"??? Hmmm, can't have been O'Reilly the
> publisher; must have been O'Reilly the builder.
Or possibly O'Reilly
e search box in Google, your AOL or Jabber buddy
> list: all case-insensitive.
Not all URLs. Compare, for example:
http://www.python.org/doc/Summary.html
http://www.python.org/doc/summary.html
--
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Those who can make you believe a
x();
> }
> popMatrix();
>
> The curly brackets have no functional meaning but increase the
> readability significantly.
You are e. e. cummings, and I claim my £5.
--
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
Every 10 years we say t
f/types.html
>
> (One item of what type, one might ask)
Good point. ". . .represented by a string of length one" would be
better.
--
Mark Jackson - http://www.alumni.caltech.edu/~mjackson
An information system based on theory isolated from reality
is bound to fail. - Mitch Kabay
--
http://mail.python.org/mailman/listinfo/python-list
11 matches
Mail list logo