> in your situation, i think it would be more "Pythonic" to maintain the
> > extras as a vector of options and prices. you then loop through those,
> > prompting the user to enter Yes or No, and add either the cost or zero,
> > respectively. that will help keep your code less complex as well. you
> On Mon, Feb 18, 2013 at 10:22 AM, Niclas Rautenhaus
> wrote:
>
>> Hello folks,
>>
>> ** **
>>
>> I would be very pleased if someone is able to help me.
>>
>> I wrote a small programm, to calculate the grand total for a car.
>>
>> A basic price can be entered. Given that basic price, a
On Mon, Feb 18, 2013 at 10:22 AM, Niclas Rautenhaus wrote:
> Hello folks,
>
> ** **
>
> I would be very pleased if someone is able to help me.
>
> I wrote a small programm, to calculate the grand total for a car.
>
> A basic price can be entered. Given that basic price, a tax peercenta
On 18/02/13 18:22, Niclas Rautenhaus wrote:
But unfortunately I am stuck with giving the user the choice to select
an additional option!
The extra items have got set values, but at the moment they all get
summarized, but i want to choose.
AFAIK I already tried:
Print raw_input ((“Would you li
On Mon, Feb 18, 2013 at 07:22:54PM +0100, Niclas Rautenhaus wrote:
> Hello folks,
> I hope it is clear where my problem is.
Not completely, but let's take a look at what you have so far.
> # Set variables for additional items
> Leather = (500)
> int (Leather)
> Clima = (1500)
> int (Clima)
...
Y
Hello folks,
I would be very pleased if someone is able to help me.
I wrote a small programm, to calculate the grand total for a car.
A basic price can be entered. Given that basic price, a tax peercentage is
calculated and added tot he grand total.
But unfortunately I am stuck with giving