On Wed, Apr 22, 2009 at 11:08 AM, IT_ForMe <snice14...@aol.com> wrote:

>
> Anyone know how to program this using Python
>
> Add up the prices for items in a shopping cart. Some items are taxable and
> some items are not. You may assume a 7% tax rate for all taxable items.
> Apply a 10% discount if the customer is a student. (hint, instead of asking
> the user to input items, set them up as an associative array in the code)


My guess is most of us could do it, and this is homework.

We have a policy against that sort of thing, but if you'd like to give it a
try and then ask for help if you get stuck, we're more than willing to help.

-Wayne
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to