>
>
>> 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",
]
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to