[Tutor] Why does loop duplicate?

2015-12-16 Thread Ken Hammer
suffix >>> Jack Jack Kack Kack Lack Lack Mack Mack Nack Nack Ouack Oack Oack Pack Pack Quack Qack >>> Thanks, Ken Hammer ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Tutor Digest, Vol 142, Issue 10

2015-12-12 Thread Ken Hammer
gt;=> 501 >> destinationCharge = basePrice + 250 >=> 251 >> # Add the total misc charges together >> subTotal = float(tax + license + dealerPrep + destinationCharge) >=> 0.07 + 0.05 +

Re: [Tutor] Modulus Operator ? SOLVED

2015-11-21 Thread Ken Hammer
Thanks, Danny Got it. Ken In , on 11/20/15 at 01:39 PM, Danny Yoo said: >>>On Thu, Nov 19, 2015 at 1:11 PM, Ken Hammer wrote: >> >>>> y = 49%13 >>>> print y >>>> 10 >> >>>Actually, let me pretend for a moment that I

[Tutor] Modulus Operator ?

2015-11-19 Thread Ken Hammer
A text for Python 2.7 includes these two paragraphs. The first I understand. The 2nd below mystifies me. How do I use "x % 10" and "x % 100" in the context of the examples I've created following the paragraphs? "The modulus operator turns out to be surprisingly useful. For example, you can

[Tutor] Run Python 2.7 on Android Tablet

2015-11-10 Thread Ken Hammer
My MIT OCW 6.00SC course is installed on a Windows 8.1 desktop machine. I'd like to study and explore away from my office and desk on my tablet running Android 4.2.2. Possible? thanks, Ken ___ Tutor maillist - Tutor@python.org To unsubscribe or

[Tutor] Python type confusion?

2015-09-28 Thread Ken Hammer
m 1 0.0 totalTerm 2 845.0 totalTerm 3 -20432.1 totalTerm 4 199927.0 Equation Value 180339.9 >>> thanks, Ken Hammer ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor