[Courses] [python] Lesson 4: Modules and command-line arguments
Monique Y. Mudama
monique at bounceswoosh.org
Mon Jul 11 20:04:47 UTC 2011
On Mon, Jul 11 at 13:56, Monique Y. Mudama penned:
> >
> > c. Here's the debugging part: why aren't they the same?
> > (You don't have to fix it: just figure out the problem.)
>
> I was going to guess punctuation and newlines, but I'm not seeing any problems.
Okay, now that I've turned in the homework, I've gone back to read the
other responses, and see the stuff about split with args vs. not.
Funny, though - I thought you'd covered no-arg split, but looking back,
I guess not. I guess the benefit of coding experience is that as soon as
I read the assignment, I knew I wanted to split by more than just
spaces, and I expected that any modern scripting language would have a
way to deal generically with "whitespace."
--
monique
More information about the Courses
mailing list