Re: [Tutor] Question about conditions and empty values

2013-10-28 Thread Shelby Martin
s for your help. On Sat, Oct 26, 2013 at 4:45 PM, Alan Gauld wrote: > On 26/10/13 20:13, Shelby Martin wrote: > > My question is this - the author of this exercise states the condition >> is False if either zero or "empty" is the value. I'm assuming he means >

[Tutor] Question about conditions and empty values

2013-10-26 Thread Shelby Martin
For the program below, if I enter "0" at the prompt, it provides the reply "Please, sit. It may be a while". However, if I just press the Enter key, it shuts the program down without a reply from the Maitre D'. My question is this - the author of this exercise states the condition is False if eith

Re: [Tutor] Want to keep to two decimal places for currency

2013-10-24 Thread Shelby Martin
I will have to revisit this issue when I'm further along. On Wed, Oct 23, 2013 at 8:44 PM, Danny Yoo wrote: > > > > On Wed, Oct 23, 2013 at 4:13 PM, Alan Gauld wrote: > >> On 23/10/13 22:39, Shelby Martin wrote: >> >>> I've looked online but I'm con

[Tutor] Want to keep to two decimal places for currency

2013-10-23 Thread Shelby Martin
I've looked online but I'm confused - I need to keep it so that the following program limits the output to two decimal places since it deals in currency. How do I incorporate that into my current code below? The textbook I'm using doesn't describe how to do that. Thanks in advance. #Challenge Ch