Re: [Tutor] Tutor Digest, Vol 157, Issue 24

2017-03-10 Thread Eloka Chima via Tutor
bject line so it is more specific than "Re: Contents of Tutor digest..." Today's Topics:   1. Re: Help!! Code ridden with Bugs (Joel Goldstick)   2. Re: Help!! Code ridden with Bugs (Sri Kavi)   3. Re: Help!! Code ridden with Bugs (Eloka Chima) On Thu, Mar 9, 2017 at 8:28 AM, Elok

Re: [Tutor] Help!! Code ridden with Bugs

2017-03-09 Thread Eloka Chima via Tutor
; self.total:       self.total -= self.cash_paid       return self.total       return "Cash paid is not enough" You cannot return two values. Sri On Thu, Mar 9, 2017 at 6:58 PM, Eloka Chima via Tutor wrote: I am new to programming but an immersive  study in the past few weeks have

Re: [Tutor] Help!! Code ridden with Bugs

2017-03-09 Thread Eloka Chima via Tutor
iting the code I sent.  Thanks. Sent from Yahoo Mail on Android On Thu, 9 Mar 2017 at 6:26 pm, Sri Kavi wrote:  def checkout(self, cash_paid):     self.cash_paid = cash_paid     if self.cash_paid < self.total:       self.total -= self.cash_paid       return self.total       return "Cash paid is

[Tutor] Help!! Code ridden with Bugs

2017-03-09 Thread Eloka Chima via Tutor
I am new to programming but an immersive  study in the past few weeks have brought me to speed so I can play around with codes but not really mastered them.My assignment below is ridden with bugs and I've done so much to get rid of them but to no avail. Below is the project : Create a class cal