[Tutor] Re: New function and 3 line program not working?
timmoffatt at cogeco.ca
Thu Nov 11 06:51:31 CET 2004
Thank you all for your help!
Looking at 2 responses I recieved and combineing the info, I think I have solved the problem.
When I first start up the IDLE gui, it is titled "Python Shell" and I was attempting to enter everything here and I kept getting >>> after each line I
typed, and it would not work.
>>> def newLine():
>>> print "First Line"
>>> print "Second Line"
But, I learned that if I open a new window from the "Python Shell" and then enter everything, then save, it would work
Thank you again for your help
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor