Wednesday, January 12, 2011
the answer
>>> ((24.95)*(.4)*60)+3+(.75*59)
646.0500000000001
"Suppose the cover price of a book is $24.95, but bookstores get a 40% discount. Shipping costs $3 for the first copy and 75 cents for each additional copy. What is the total wholesale cost for 60 copies?"
- http://www.greenteapress.com/thinkpython/html/book003.html (view on Google Sidewiki)