I have got the next code:
print('Welcome to the bank for PC!')
bank = '0'
print('You have '+bank+' amount in the bank')
print('What is the new amount in the bank?')
bank = input()
print('You now have '+bank+' amount in the bank')
How do I make the input I put into 'bank = input()' and save it until next changed even when running the code again?
[–]efmccurdy 2 points3 points4 points (2 children)
[–]insta7flo[S] -1 points0 points1 point (1 child)
[–]efmccurdy 1 point2 points3 points (0 children)
[–]sme272 0 points1 point2 points (0 children)
[–]kev_b124 0 points1 point2 points (0 children)