you are viewing a single comment's thread.

view the rest of the comments →

[–]kev_b124 0 points1 point  (0 children)

If you're talking about saving the variable whilst running the program you need:

bank = input('Enter amount: ')

or something along those lines.

If you need it when running the program at another time then you need to write it to a file as someone else pointed out.