[Tutor] Calculation error with a simple program

2015-12-12 Thread Jim Gallaher
a couple fees. For example, if I put in a value of 1, it will output 752.12 as the sub total and 753.12 as the grand total. It's off by 1 on sub total and 2 on grand total. Thanks in advance! Jim Gallaher # Car Salesman Calculator # User enters the base price of the car and the progra

Re: [Tutor] Calculation error with a simple program

2015-12-12 Thread Jim Gallaher
Hi Alan, I'm 100 percent sure I'm wrong. :-) I verified it when I fixed the mistake. The problem was it was adding in the basePrice and the fixed rates/percentages each time. So I figured it out when Ian said something about that. Thanks for everyone's help! :-)

Re: [Tutor] Tutor Digest, Vol 130, Issue 28

2014-12-16 Thread Jim Gallaher
Sunil Bharuchi, I have that same book so I can answer this question. The code can be found at the author's site. programgames.com > On Dec 16, 2014, at 05:00, tutor-requ...@python.org wrote: > > Send Tutor mailing list submissions to >tutor@python.org > > To subscribe or unsubscribe via t

Re: [Tutor] print() invalid syntax (Jim Gallaher)

2014-12-24 Thread Jim Gallaher
7;m working my way through the Michael Dawson book "Python Programming for > the Absolute Beginner..." > I tried running with version 3.2.3 and the native version (2.7.3) For his book he mentions he uses Python 3. Python 2 might work, but it's not guaranteed. Sincer

Re: [Tutor] Ideas for Child's Project

2015-01-07 Thread Jim Gallaher
erry Pi is very Python friendly and there's add on boards you can use along with Python. geek gurl diaries has video tutorials on programing with Python and raspberry that are focused towards the youngsters. Her website is www.geekgurldiaries.co.uk Hope that helps! Jim Gallaher >> On