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

2016-01-11 Thread homiemusa
On Tuesday, December 29, 2015 at 1:30:18 AM UTC+3, Cameron Simpson wrote: > On 28Dec2015 01:34, Prince Udoka wrote: > >bu i have come up with a solution, that will work but encounter a problem in > >the set, giving set not manipulated correctly: > > > >def manipulate_data(kind, data): > >if k

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

2016-01-11 Thread homiemusa
On Monday, December 28, 2015 at 12:39:41 PM UTC+3, Won Chang wrote: > def manipulate_data(kind, data): > if kind == 'list': > return list(data)[::-1] > elif kind == 'set': > return set(data) > elif kind == 'dictionary': > return dict.keys(data) > manipulate_