On 30/07/17 23:36, Borisco Bizaro wrote: > a=1 > b=2 > while a<b: > input ("enter another price :")
Do 'a' or 'b' ever change? Does 'a<b' ever become false? Does the while loop ever stop? Do you store the value of the input() function anywhere? > print"\n\n press 0 key to stop" Does the user ever get the chance to enter a value? If they were, Where is the value stored and is the value ever used? >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Tutor digest..." Please follow the instructions as requested. It helps find answers in the archives. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor