On 10/10/12 02:14, eryksun wrote:
another=input('Do you have another book to order for this student?',
'\nEnter y for yes: ')
Remove the comma, and this will parse correctly.
Oops, yes good catch, don't know where that came from.
another=input('''
Do you have
On Tue, Oct 9, 2012 at 7:39 PM, Alan Gauld wrote:
>
> another=input('Do you have another book to order for this student?',
> '\nEnter y for yes: ')
Remove the comma, and this will parse correctly.
A comma in a function call is used to separate arguments. On its own a
comma creates
On 09/10/12 20:47, Amanda Colley wrote:
Ok, here is my problem. If a person has two different people to order
books for, then when using the loop option, How do you add the two
seperate choices together for a final total of books cost?
This looks a bit like it might be homework so I won't a
Mark Lawrence wrote:
> On 09/10/2012 20:47, Amanda Colley wrote:
> > Ok, here is my problem. If a person has two different people to order
> > books for, then when using the loop option, How do you add the two seperate
> > choices together for a final total of books cost?
> >
> > another='y'
>
On 09/10/2012 20:47, Amanda Colley wrote:
Ok, here is my problem. If a person has two different people to order
books for, then when using the loop option, How do you add the two seperate
choices together for a final total of books cost?
another='y'
while another=='y' or another=='Y':
Ok, here is my problem. If a person has two different people to order
books for, then when using the loop option, How do you add the two seperate
choices together for a final total of books cost?
another='y'
while another=='y' or another=='Y':
choice()
another=input('Do you