Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-26 Thread malitician
On Thursday, December 24, 2015 at 9:58:54 PM UTC+1, Tim Chase wrote: > On 2015-12-24 11:36, malitic...@gmail.com wrote: > > it is a homework, but we are to figure out the solution first , all > > we need is some guidance please and not to be spoon fed like many > > thought > > Ah, with the intend

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-26 Thread malitician
On Saturday, December 26, 2015 at 3:04:45 AM UTC+1, princ...@gmail.com wrote: > #i have worked over 2hours only to get this: some-one help please > manipulate_data = [] > item = {"apples": 23, "oranges": 15, "mangoes": 3, "grapes": 45} > manipulate_data.append(item) > for i in reversed(manipulate_

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-24 Thread malitician
On Thursday, December 24, 2015 at 3:39:34 PM UTC+1, Chris Angelico wrote: > On Fri, Dec 25, 2015 at 1:17 AM, wrote: > > i am getting to believe that no one can provide a solution to this > > challenge, every-one here is just beating around the bush > > It's not a question of 'can' but 'will'. W

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-19 Thread malitician
you are absolutely correct Mark i'm a beginner in python and from the original question and test case given above i wrote this class BankAccount(object): def __init__(self, initial_balance=0): self.balance = initial_balance def deposit(self, amount): self.balance +=am

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-18 Thread malitician
good explanation Steven but can you please do more by posting the exact code as it relate to the question please? -- https://mail.python.org/mailman/listinfo/python-list