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

2015-12-26 Thread princeudo52
this is what i finally got, i give-up, some-one, any body pls help: def manipulate_data(list_data, set_data): if list_data == ["apples", "orange", "mangoes"]: for set_data in reversed(set_data): return set_data elif manipulate_data(list_data == {"apples", "orange", "mang

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

2015-12-26 Thread princeudo52
@ cameron, are u sure this solution u gave me works here is what i am getting, i am really having headache, some-one should please have mercy: def manipulate_data(list_data, set_data): if list_data == ["apples", "orange", "mangoes"]: for i in reversed(set_data): return i

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

2015-12-26 Thread princeudo52
i am really enjoying u guyz, i didnt sleep yesterday night, but all is working out well now: i am 2weeks old in python, thanks you all for the assistance -- https://mail.python.org/mailman/listinfo/python-list

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

2015-12-25 Thread princeudo52
thank you God bless you moore... -- https://mail.python.org/mailman/listinfo/python-list

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

2015-12-25 Thread princeudo52
#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_data): new = {"ANDELA", "TIA", "AFRICA"} def list_append(manipulate_data, new):

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

2015-12-25 Thread princeudo52
Create a function manipulate_data that does the following Accepts as the first parameter a string specifying the data structure to be used "list", "set" or "dictionary" Accepts as the second parameter the data to be manipulated based on the data structure specified e.g [1, 4, 9, 16, 25] for a lis

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

2015-12-25 Thread princeudo52
i have gotten the answer of that problem -- https://mail.python.org/mailman/listinfo/python-list

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

2015-12-25 Thread princeudo52
#my solution is: def manipulate_data(dic,dict_data = {'name':'prince','age':21,'sex':'male'}): return dict_data.keys() def manipulate_data( alist, list_data = [2,8,16,23,14]): return list_data.reverse() def manipulate_data(aset, set_data = {"bee","cee","dee"}): set_data = {"bee","cee","dee"

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

2015-12-24 Thread princeudo52
i am getting to believe that no one can provide a solution to this challenge, every-one here is just beating around the bush -- https://mail.python.org/mailman/listinfo/python-list

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

2015-12-24 Thread princeudo52
here is what i came up with Class BankAccount(object): def_init_(self, balance): self.Balance = balance def deposit(self, amount): self.Balance = amount def withdraw(self,amount): if(self.Balance += amount): return invalid transaction #but my challange now is :Create a subclass MinimumBalanceAccou

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

2015-12-24 Thread princeudo52
On Saturday, December 12, 2015 at 10:05:29 AM UTC+1, Harbey Leke wrote: > Create a class called BankAccount > > .Create a constructor that takes in an integer and assigns this to a > `balance` property. > > .Create a method called `deposit` that takes in cash deposit amount and > updates the ba