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

Jason Friedman jsf80238 at gmail.com
Fri May 12 23:51:56 EDT 2017


>
>
>> 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 details"
>     "A - Make deposit"
>     "W - Make withdraw",
>     "S - save"
>     "Q - quit"
> ]
>
>
D'oh!

menu_list = [
    "O - open account",
    "L - load details",
    "D - display details",
    "A - make deposit",
    "W - make withdrawal",
    "S - save",
    "Q - quit",
]



More information about the Python-list mailing list