Write a python program that takes pin code(5674,8756,9889,2342) and balance of a users account as input. It
Question:
Write a python program that takes pin code(5674,8756,9889,2342) and balance of a user’s account as input. It should then ask the user how much amount heshe wants to withdraw from hisher account. The program should take this amount as input and deduct from the balance. Similarly, it should ask the user how much amount heshe wants to deposit in hisher account. It should take this amount as input and add to the balance. The program shall display the new balance after amount has been withdrawn and deposited.
Note: Your program should have all necessary checks on the transactions. Display a menu to the user to let himher choose between different available options. Make sure to add comments that explains your code
Data Structures and Algorithms in Python
ISBN: 978-1118290279
1st edition
Authors: Michael T. Goodrich , Roberto Tamassia, Michael H. Goldwasser