On 06/03/18 18:12, Roger Lea Scherer wrote:
> I know I don't have to apologize, but I am so independent I hate asking for
> help and you guys and gals have been so helpful that now that I'm stuck
> again I'm sorry I have to.
Thats not a problem and, in programming, is usually seen as
a strength n
On 06/03/18 22:17, Albert-Jan Roskam wrote:
> But the way you wrote it, the generator expression just "floats"
Any expression can be used where a value is expected provided
that e3xpression produces a value of the required type.
A generator expression effectively produces a sequence and
the type
I know I don't have to apologize, but I am so independent I hate asking for
help and you guys and gals have been so helpful that now that I'm stuck
again I'm sorry I have to. I've looked on StackOverflow and followed their
advice (which I can't make work) and went to the python/turtle
documentation
On Tue, Mar 06, 2018 at 10:17:20PM +, Albert-Jan Roskam wrote:
> > >>> all(c.isdigit() for c in '12c4')
> > False
>
> I never understood why this is syntactically correct. It's like two
> parentheses are missing.
>
> This I understand:
> all((c.isdigit() for c in '12c4'))
> Or this:
> all([
On Feb 27, 2018 09:50, Alan Gauld via Tutor wrote:
>
> On 27/02/18 05:13, Cameron Simpson wrote:
>
> > hard to debug when you do. That's not to say you shouldn't use them, but
> > many
> > people use them for far too much.
>
>
> > Finally, you could also consider not using a regexp for this part