very very basic question
hi guys, this would be the most basic question ever...I am not a programmer but I am trying to learn programming in python...I was reading John Zelle's text book and instructed me to make .py file and save it on the desk top...then it said close the python GUI and double click on the icon of the I just made and that should run the program...well, the good news is that it does but when I input a number for calculation and press the enter key the program closes...Does any one know what the problem is? thanx a bunch andy -- http://mail.python.org/mailman/listinfo/python-list
Re: very very basic question
thanx george for the prompt answer... when you say add a call that means what exactly?...here is the program I was supposed to write...could you tell me what to add where in this program? def main(): print "this program is crazy" x=input ('enter a number betwenen 0 and 1: ') for i range (10) x=3.9*x*(1-x) print x main() thanx again -- http://mail.python.org/mailman/listinfo/python-list
Re: very very basic question
thanx ...it works great now...you re awesome...the only thing is that the program only executes once though...I guess I ll have to read up more anout it but for now that helped me a lot...I appreciated the help -- http://mail.python.org/mailman/listinfo/python-list
Re: very very basic question
WO Larry that was very very smart...it works perfectly =) -- http://mail.python.org/mailman/listinfo/python-list