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

2017-03-09 Thread Alan Gauld via Tutor
On 09/03/17 18:42, Eloka Chima via Tutor wrote: > Is my code okay. > > THERE IS AN ERROR/BUG IN YOUR CODE > Results: Traceback (most recent call last): File "python/nose2/bin/nose2", > line 8, Evidently not. But the error messages are unreadable, please send in plain text. -- Alan G Author o

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

2017-03-09 Thread Alan Gauld via Tutor
On 09/03/17 13:28, Eloka Chima via Tutor wrote: > My assignment below is ridden with bugs So tell us what they are don;t make us guess and don't expect us to run code which is by your own admission faulty! If you get error messages post them, in full. If it runs but misbehaves tell us what happen

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

2017-03-09 Thread Mats Wichmann
On 03/09/2017 12:32 PM, Joel Goldstick wrote: > On Thu, Mar 9, 2017 at 8:28 AM, Eloka Chima via Tutor > wrote: >> 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

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

2017-03-09 Thread Eloka Chima via Tutor
Is my code okay. Sent from Yahoo Mail on Android On Thu, 9 Mar 2017 at 7:41 pm, Eloka Chima wrote: Your Code Solution Has Errors THERE IS AN ERROR/BUG IN YOUR CODE Results: Traceback (most recent call last): File "python/nose2/bin/nose2", line 8, in discover() File "/usr/local/lib/pyt

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

2017-03-09 Thread Eloka Chima via Tutor
Your Code Solution Has Errors THERE IS AN ERROR/BUG IN YOUR CODE Results: Traceback (most recent call last): File "python/nose2/bin/nose2", line 8, in discover() File "/usr/local/lib/python2.7/dist-packages/nose2-0.5.0-py2.7.egg/nose2/main.py", line 300, in discover return main(*args, **kwar

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

2017-03-09 Thread Sri Kavi
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 not enough" You cannot return two values. Sri On Thu, Mar 9, 2017 at 6:58 PM, Eloka Chima via Tutor wrot

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

2017-03-09 Thread Joel Goldstick
On Thu, Mar 9, 2017 at 8:28 AM, Eloka Chima via Tutor wrote: > 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

[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