[Tutor] Python help
srilyk at gmail.com
Wed Apr 22 19:23:05 CEST 2009
On Wed, Apr 22, 2009 at 11:08 AM, IT_ForMe <Snice14247 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor