I need a string/list/generator/comprehension incantation.
Scott David Daniels
scott.daniels at acm.org
Fri Apr 20 22:03:06 EDT 2007
Steven W. Orr wrote:
> I really tried. I give up.
>
> I got this one last time (for which I'm very grateful).
> ... Now I want something that's going to give me a string whose value is the
> set of all of the first letters of months. Order is not important.
>
> And for extra credit, I need the string whose value is the set of all of
> the letters of months minus the first letter.
Boy am I sorry we did your homework for you. If you have no idea where
to go, and you can't even show your work, you need to see a TA or
instructor. You are already in over your head; back up and learn to
swim.
--
--Scott David Daniels
scott.daniels at acm.org
More information about the Python-list
mailing list