Help w/ easy python problem

Mikael Olofsson mikael at isy.liu.se
Thu Sep 22 03:02:59 EDT 2005


r2_r2 at hotmail.com 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?


This sounds like homework, and I think you should do that on your own. 
One hint, though: You could take a look at the standard module math.

/MiO



More information about the Python-list mailing list