On Mon, 12 Mar 2007 05:40:44 -0700, MonkeeSage wrote: > HeEm wrote: >> In my 100 level CS course, I was asked to create multiple lines of >> output within a single string. Of course I know how to: > > If this is for a CS course, you shouldn't really be cheating and > asking for an answer here, should you? I mean, the whole point of > taking (and paying for!) a CS course is to learn CS, right?
"Always go over old ground, re-inventing the wheel again and again" is the least efficient, most error-prone way of learning comp sci (or any other subject for that matter). There's a fuzzy line between "help me to learn this" and "do my work for me", but it is a real distinction. One of the distinguishing characteristics of an educated person and an ignoramus is that the educated person not only knows more stuff, but more importantly knows how to find out what he doesn't already know. That can include looking it up in a reference book or asking somebody who does know. -- Steven D'Aprano -- http://mail.python.org/mailman/listinfo/python-list