Help w/ easy python problem

bruno modulix onurb at xiludom.gro
Thu Sep 22 12:41:48 CEST 2005

r2_r2 at wrote:
> I am very much a beginner to python.  I have been working on writing a
> very simple program and cannot get it and was hoping someone could help
> me out.  Basically i need to write a code to print a sin curve running
> down the page from top to bottom.  The trick is I have to do this using
> only 7-8 lines of code.  Any ideas?
Yes : do your homework yourself. When you'll run into trouble with
*your* code, then post here for help.

bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"

More information about the Python-list mailing list