very very basic question

Georg Brandl g.brandl-nospam at gmx.net
Sun Apr 2 17:10:51 EDT 2006


aghazalp wrote:
> 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()

At the very end of the program, that is here, after main(), just insert

raw_input()

Georg



More information about the Python-list mailing list