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

2017-05-12 Thread Jason Friedman
> > >> The first section does not do what I think you want: a list with 7 > options. It makes a list with one option, then overwrites it with a new > list with one option, and so on. You want something like: > menu_list = [ > "O - open account" > "L - load details" > "D - display

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

2017-05-12 Thread Jason Friedman
> > menu_list = ["O -open account"] > menu_list =["l - load details"] > menu_list =["D- display details"] > menu_list =["A - Make deposit"] > menu_list =["W- Make withdraw",] > menu_list =["S - save"] > menu_list =["Q - quit"] > > command = input("command:") > if command.upper() == "O": > open_()

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

2017-05-12 Thread saisurya . ssa
On Saturday, December 12, 2015 at 2:35:29 PM UTC+5:30, 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

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

2016-07-29 Thread livetemartin
On Saturday, December 12, 2015 at 1:05:29 AM UTC-8, 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

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

2016-03-19 Thread Ben Finney
anyanwuchukwueme...@gmail.com writes: > What was the final answer for the create class bankaccount question? The final answer is: homework entails that you do the work, not us. -- \ “I tell you the truth: some standing here will not taste death | `\before they see the Son of Man

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

2016-03-19 Thread Mark Lawrence
On 19/03/2016 21:40, anyanwuchukwueme...@gmail.com wrote: What was the final answer for the create class bankaccount question? 42. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --

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

2016-03-19 Thread Joel Goldstick
On Sat, Mar 19, 2016 at 5:40 PM, wrote: > What was the final answer for the create class bankaccount question? > -- > https://mail.python.org/mailman/listinfo/python-list > Was it 14? -- Joel Goldstick http://joelgoldstick.com/

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

2016-03-19 Thread anyanwuchukwuemeka9
What was the final answer for the create class bankaccount question? -- https://mail.python.org/mailman/listinfo/python-list

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

2016-03-13 Thread BartC
On 14/03/2016 00:17, chetam.che...@gmail.com 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 balance accordingly.

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

2016-03-13 Thread Ben Finney
chetam.che...@gmail.com writes: > Hello, I have this same assignment to create Bank account and I am new > to python. Welcome to Python! If you have an assignment, that implies you are working through a course and you have received enough teaching to attempt the task yourself. > please help me

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

2016-03-13 Thread Chris Angelico
On Mon, Mar 14, 2016 at 11:57 AM, MRAB wrote: > On 2016-03-14 00:40, Chris Angelico wrote: >> >> On Mon, Mar 14, 2016 at 11:17 AM, wrote: >>> >>> Hello, I have this same assignment to create Bank account and I am new to >>> python. please

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

2016-03-13 Thread MRAB
On 2016-03-14 00:40, Chris Angelico wrote: On Mon, Mar 14, 2016 at 11:17 AM, wrote: Hello, I have this same assignment to create Bank account and I am new to python. please help me out. The best help you can get is: DO THE WORK. You can't simply ask for help

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

2016-03-13 Thread Chris Angelico
On Mon, Mar 14, 2016 at 11:17 AM, wrote: > Hello, I have this same assignment to create Bank account and I am new to > python. please help me out. The best help you can get is: DO THE WORK. You can't simply ask for help without doing any work first. If you want to

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

2016-03-13 Thread chetam . chetzy
On Friday, January 8, 2016 at 11:38:11 AM UTC-5, acushl...@gmail.com wrote: > On Wednesday, 30 December 2015 19:21:32 UTC+1, Won Chang wrote: > > i have these task which i believe i have done well to some level > > > > Create a function get_algorithm_result to implement the algorithm below > >

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

2016-03-05 Thread Albert Visser
On Sat, 05 Mar 2016 08:41:39 +0100, wrote: On Saturday, December 12, 2015 at 1:05:29 AM UTC-8, 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

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

2016-03-05 Thread Peter Otten
lucasfrank...@gmail.com wrote: > On Saturday, December 12, 2015 at 1:05:29 AM UTC-8, 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

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

2016-03-05 Thread lucasfrank254
On Saturday, December 12, 2015 at 1:05:29 AM UTC-8, 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

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

2016-01-14 Thread kasale . jacktone
hello lee so what was the final answer u gave for the following question.. reate 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 balance accordingly. Create a method called

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

2016-01-13 Thread bonfaceo3
On Saturday, December 12, 2015 at 12:05:29 PM UTC+3, 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

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

2016-01-13 Thread phatsammhiel
please kindly inbox me the solution thanks in anticipation of your kind gesture sammhielade...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

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

2016-01-13 Thread phatsammhiel
please assist with the solution on this p h a t s a m m hi e l...@gmail.com thanks -- https://mail.python.org/mailman/listinfo/python-list

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

2016-01-13 Thread Chris Angelico
On Thu, Jan 14, 2016 at 12:28 AM, wrote: > please kindly inbox me the solution > > thanks in anticipation of your kind gesture > > > sammhielade...@gmail.com Don't you get it? You are not going to be given the code. All you're doing is making us resent your presence,

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

2016-01-13 Thread Andrew Ongko
On Jan 13, 2016 10:25 PM, "Tim Golden" wrote: > > On 13/01/2016 14:43, Joel Goldstick wrote: > > On Wed, Jan 13, 2016 at 8:37 AM, Chris Angelico wrote: > > > >> On Thu, Jan 14, 2016 at 12:28 AM, wrote: > >>> please kindly inbox me

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

2016-01-13 Thread Tim Golden
On 13/01/2016 14:43, Joel Goldstick wrote: > On Wed, Jan 13, 2016 at 8:37 AM, Chris Angelico wrote: > >> On Thu, Jan 14, 2016 at 12:28 AM, wrote: >>> please kindly inbox me the solution >>> >>> thanks in anticipation of your kind gesture >>> >>> >>>

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

2016-01-13 Thread Joel Goldstick
On Wed, Jan 13, 2016 at 8:37 AM, Chris Angelico wrote: > On Thu, Jan 14, 2016 at 12:28 AM, wrote: > > please kindly inbox me the solution > > > > thanks in anticipation of your kind gesture > > > > > > sammhielade...@gmail.com > > Don't you get it? You

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

2016-01-12 Thread jeff
On Friday, January 8, 2016 at 6:16:49 PM UTC+1, geral...@gmail.com wrote: > On Friday, 8 January 2016 17:38:11 UTC+1, acushl...@gmail.com wrote: > > On Wednesday, 30 December 2015 19:21:32 UTC+1, Won Chang wrote: > > > i have these task which i believe i have done well to some level > > > > > >

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

2016-01-12 Thread lee
You're still struggling with this question because you didn't take your time to read the previous comments here , the solution to this and other question has being posted long ago before new year here , just read previous comments. Remember don't use print , instead use return . --

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

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

2016-01-11 Thread ifeanyioprah
How do I use hack to move to the next question -- https://mail.python.org/mailman/listinfo/python-list

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

2016-01-11 Thread ifeanyioprah
How do I use hack to move to the next question -- https://mail.python.org/mailman/listinfo/python-list

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

2016-01-11 Thread ifeanyioprah
Please how did you back it to move over to the next question pls need your help -- https://mail.python.org/mailman/listinfo/python-list

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

2016-01-11 Thread mrkimanindegwa
On Saturday, December 12, 2015 at 12:05:29 PM UTC+3, 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

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

2016-01-11 Thread ifeanyioprah
How do I use hack to move to the next question -- https://mail.python.org/mailman/listinfo/python-list

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) >

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

2016-01-09 Thread geraldjuwah
On Friday, 8 January 2016 17:38:11 UTC+1, acushl...@gmail.com wrote: > On Wednesday, 30 December 2015 19:21:32 UTC+1, Won Chang wrote: > > i have these task which i believe i have done well to some level > > > > Create a function get_algorithm_result to implement the algorithm below > > > > 1-

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

2016-01-08 Thread acushla4real
On Wednesday, 30 December 2015 19:21:32 UTC+1, Won Chang wrote: > i have these task which i believe i have done well to some level > > Create a function get_algorithm_result to implement the algorithm below > > 1- Get a list of numbers L1, L2, L3LN as argument 2- Assume L1 is the >

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

2016-01-01 Thread xaviertim017
On Saturday, December 26, 2015 at 12:06:07 AM UTC+1, Won Chang wrote: > i have gotten the answer of that problem Please Can you post the answer you got. If convenient send to my email xaviertim...@gmail.com. Thanks in advance. -- https://mail.python.org/mailman/listinfo/python-list

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

2016-01-01 Thread xaviertim017
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

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

2015-12-31 Thread Grant Edwards
On 2015-12-25, Gregory Ewing wrote: > Grant Edwards wrote: >> And don't get me started on those people who use those "integrated >> circuits" instead of transistors, relays, and tubes... > > Transistors? You don't know how good you had it. > In my day we had to poke

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

2015-12-30 Thread Won Chang
i have these task which i believe i have done well to some level Create a function get_algorithm_result to implement the algorithm below 1- Get a list of numbers L1, L2, L3LN as argument 2- Assume L1 is the largest, Largest = L1 3- Take next number Li from the list and do the following 4-

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

2015-12-30 Thread Joel Goldstick
On Wed, Dec 30, 2015 at 3:06 PM, Joel Goldstick wrote: > > > On Wed, Dec 30, 2015 at 1:21 PM, Won Chang wrote: > >> >> i have these task which i believe i have done well to some level >> >> Create a function get_algorithm_result to implement the

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

2015-12-30 Thread Joel Goldstick
On Wed, Dec 30, 2015 at 1:21 PM, Won Chang wrote: > > i have these task which i believe i have done well to some level > > Create a function get_algorithm_result to implement the algorithm below > > 1- Get a list of numbers L1, L2, L3LN as argument 2- Assume L1 is the

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

2015-12-29 Thread lee
On Monday, December 28, 2015 at 11:30:18 PM UTC+1, 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

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

2015-12-29 Thread lee
On Tuesday, December 29, 2015 at 11:48:42 AM UTC+1, Cameron Simpson wrote: > On 29Dec2015 00:49, lee wrote: > >thumbs up Cameron , you and others here are really wonderful > >https://mail.python.org/mailman/listinfo/python-list > > Hi Lee, > > While we're generally happy to help, these

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

2015-12-29 Thread Cameron Simpson
On 29Dec2015 00:49, lee wrote: thumbs up Cameron , you and others here are really wonderful https://mail.python.org/mailman/listinfo/python-list Hi Lee, While we're generally happy to help, these questions are better taken to the tutor list here:

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

2015-12-28 Thread lee
I'm still stuck on this, any Rescuer? -- 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-28 Thread Prince Udoka
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 kind == 'list': return list(data)[::-1] elif kind == 'set': return set(data) elif kind == 'dictionary':

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

2015-12-28 Thread lee
On Monday, December 28, 2015 at 10:38:47 AM UTC+1, Ben Finney wrote: > lee writes: > > > I'm still stuck on this, any Rescuer? > > You appear to be yet another different person asking about this homework > assignment. > > Please: > > * This forum is not suitable for the kind of close attention

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

2015-12-28 Thread Prince Udoka
wow thats true the code did not work -- 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-28 Thread Ben Finney
lee writes: > I'm still stuck on this, any Rescuer? You appear to be yet another different person asking about this homework assignment. Please: * This forum is not suitable for the kind of close attention to very basic learning. Take this discussion to the ‘tutor’

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

2015-12-28 Thread Prince Udoka
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_data("list", range(1,6)) manipulate_data("set", {"a", "b", "c", "d", "e",})

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

2015-12-28 Thread Ben Finney
Prince Udoka writes: > pls 4give my use of language Your messages are becoming quite disruptive and inconsiderate of your readers. Please take more care with each message, don't bombard us with a series of poorly-thought-out, hyper-abbreviated messages. Please take

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

2015-12-28 Thread Mark Lawrence
On 28/12/2015 09:25, lee wrote: I'm still stuck on this, any Rescuer? Try running your code at an interactive prompt, or in a debugger, or use paper and pencil to trace what the code is actually doing as opposed to what you are required to get it to do. -- My fellow Pythonistas, ask not

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

2015-12-28 Thread Joel Goldstick
On Mon, Dec 28, 2015 at 4:53 AM, lee wrote: > On Monday, December 28, 2015 at 10:38:47 AM UTC+1, Ben Finney wrote: > > lee writes: > > > > > I'm still stuck on this, any Rescuer? > > > > You appear to be yet another different person asking about this homework > >

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

2015-12-28 Thread botic
lee, i will give u the answer just inbox me princeud...@yahoo.com, so that i can drop it privately -- 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-28 Thread Cameron Simpson
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 kind == 'list': return list(data)[::-1] elif kind ==

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

2015-12-28 Thread Prince Udoka
thanks everyone, though it was very tough, but i thank GOD On Mon, Dec 28, 2015 at 11:29 PM, 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,

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

2015-12-27 Thread lee
> > After you've called the function, anything you do to the result is not > done BY the function and will therefore not be done when called by other > code. > > The unit test that calls the function will not do those things. It > expects them to already be done. > > So ... what changes to

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

2015-12-27 Thread lee
On Sunday, December 27, 2015 at 9:32:24 PM UTC+1, Prince Udoka wrote: > thanks mr cameron simpson, finally at i got the solution, God bless you: > def manipulate_data(kind, data): > if kind == 'list': > for data in [1, 2, 3, 4, 5]: > return data.reverse() > elif kind ==

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

2015-12-27 Thread Prince Udoka
thanks mr cameron simpson, finally at i got the solution, God bless you: def manipulate_data(kind, data): if kind == 'list': for data in [1, 2, 3, 4, 5]: return data.reverse() elif kind == 'set': for data in {"a", "b", "c", "d", "e"}:

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

2015-12-27 Thread lee
> >Instead, your function should examine the "kind" parameter and decide > >what to do. So it would reasonably look like this (untested): > > > > def manipulate_data(kind, data): > > if kind == 'list': > > ... do stuff with data using it as a list ... > > elif kind == 'set': > > ...

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

2015-12-27 Thread Erik
On 27/12/15 15:02, lee wrote: the code i have tested base on Cameron's code def manipulate_data(kind, data): if kind == 'list': return list(data)[::-1] elif kind == 'set': return set(data) elif kind == 'dictionary': return dict( data) manipulate_data("list",

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

2015-12-27 Thread Erik
On 27/12/15 20:32, Prince Udoka wrote: thanks mr cameron simpson, finally at i got the solution, God bless you: def manipulate_data(kind, data): if kind == 'list': for data in [1, 2, 3, 4, 5]: return data.reverse() elif kind == 'set': for data in {"a",

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

2015-12-27 Thread Cameron Simpson
On 27Dec2015 12:32, Prince Udoka wrote: thanks mr cameron simpson, finally at i got the solution, God bless you: def manipulate_data(kind, data): if kind == 'list': for data in [1, 2, 3, 4, 5]: return data.reverse() elif kind == 'set': for

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

2015-12-26 Thread Cameron Simpson
On 26Dec2015 03:23, princeud...@gmail.com wrote: 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

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",

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

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 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

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
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

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

2015-12-25 Thread Erik
Hi, I appreciate that you've made an effort this time to write some code, but have you attempted to try to _execute_ any of this? [I can see that the answer must be "no"] On 25/12/15 23:09, princeud...@gmail.com wrote: > #my solution is: > def manipulate_data(dic,dict_data =

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

2015-12-25 Thread Larry Hudson via Python-list
On 12/25/2015 06:04 PM, princeud...@gmail.com wrote: #i have worked over 2hours only to get this: some-one help please manipulate_data = [] [snip other incorrect nonsense...] #this is the instruction: Create a function manipulate_data that does the following [snip...] Let's start with your

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

2015-12-25 Thread jeanbigboute
On Sunday, December 20, 2015 at 3:29:30 AM UTC-8, Chris Angelico wrote: [... much instruction deleted] > There is a half-and-half possibility, too; sometimes a course will > give you a challenge, and *then* introduce you to the techniques > necessary for solving it (after letting you have a shot

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 Gregory Ewing
Grant Edwards wrote: And don't get me started on those people who use those "integrated circuits" instead of transistors, relays, and tubes... Transistors? You don't know how good you had it. In my day we had to poke the dopant atoms into the silicon one at a time with the point of a needle.

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

2015-12-25 Thread Cameron Simpson
On 25Dec2015 15:05, princeud...@gmail.com wrote: i have gotten the answer of that problem Please include some context when posting to the list; there are many discussions and it is best to include a little more than the subject line in such things. It is also polite

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 =

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-24 Thread Erik
On 24/12/15 19:36, malitic...@gmail.com wrote: you are right chris 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 From your response, it seems that this is a homework question that a group of you

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

2015-12-24 Thread Tim Chase
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 intended interface as given by the tests, and the code you've already put together,

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

2015-12-24 Thread Gene Heskett
On Thursday 24 December 2015 12:30:08 Grant Edwards wrote: > On 2015-12-24, D'Arcy J.M. Cain wrote: > > It reminds me of when one day people started claiming to be > > "building" computers and they didn't even own a soldering iron. > > And don't get me started on those

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

2015-12-24 Thread D'Arcy J.M. Cain
On Thu, 24 Dec 2015 17:30:08 + (UTC) Grant Edwards wrote: > And don't get me started on those people who use those "integrated > circuits" instead of transistors, relays, and tubes... Mmmm. Tubes. Still use them in my guitar amp. Transistors just aren't the same

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

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

2015-12-24 Thread Grant Edwards
On 2015-12-24, D'Arcy J.M. Cain wrote: > It reminds me of when one day people started claiming to be "building" > computers and they didn't even own a soldering iron. And don't get me started on those people who use those "integrated circuits" instead of transistors,

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

2015-12-24 Thread D'Arcy J.M. Cain
On Thu, 24 Dec 2015 10:47:04 -0500 Joel Goldstick wrote: > Not to be rude, but if your style of methodology for asking for help > is indicative of your general attitude, and interest in learning to > write software, you may be better served to find a new calling. Its >

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

2015-12-24 Thread Chris Angelico
On Fri, Dec 25, 2015 at 3:14 AM, D'Arcy J.M. Cain wrote: > It reminds me of when one day people started claiming to be "building" > computers and they didn't even own a soldering iron. Hey! Don't judge me just because I use my dad's! :) ChrisA --

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

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

2015-12-24 Thread Chris Angelico
On Thu, Dec 24, 2015 at 11:59 PM, wrote: > 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

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

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 Chris Angelico
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'. We will not provide the answer to your homework question.

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

2015-12-24 Thread Joel Goldstick
On Thu, Dec 24, 2015 at 9:39 AM, 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

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

2015-12-20 Thread Chris Angelico
On Sun, Dec 20, 2015 at 10:04 PM, Denis McMahon wrote: > It sounds like you're taking a python course. Your course should have > taught you all you need to carry out this programming task before setting > this exercise. > > Alternatively, if you have so far been a fully

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

2015-12-20 Thread Denis McMahon
On Sat, 12 Dec 2015 01:05:01 -0800, 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 balance

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

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

2015-12-19 Thread Mark Lawrence
On 20/12/2015 01:09, Michael Torrie wrote: On 12/19/2015 05:41 PM, Mark Lawrence wrote: On 19/12/2015 23:19, malitic...@gmail.com wrote: 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):

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

2015-12-19 Thread Mark Lawrence
On 19/12/2015 23:19, malitic...@gmail.com wrote: 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

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

2015-12-19 Thread Michael Torrie
On 12/19/2015 05:41 PM, Mark Lawrence wrote: > On 19/12/2015 23:19, malitic...@gmail.com wrote: >> 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,

  1   2   >