Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Python with Pycharm Does anyone can help me plz?! This task will be evolving into a full-stack web-application in the future. So think extremely careful
Python with Pycharm
Does anyone can help me plz?!
This task will be evolving into a full-stack web-application in the future. So think extremely careful on your logic and implementation For this task. you will write a Python class which will be served as a bank. There will be many users (instances of Bank class), and each user needs to perform following transactions: withdraw deposit0.check_transaction_history0, and check_balance0. A user's balance should be always independent to other users's data. Each user's data should be kept in a .txt file so that every time a user visit this bank, the Bank class can read the user information from .txt file and perform necessary actions. The input format should be a Python prompt so that users can select the transaction type and enter the amount. While implementing the Bank class, please consider below things 1. If you check each user's identity using their first or last name, what would you do if another user with duplicated name come in to the Bank? How would you separate those two users' data? 2. What if the amount of withdraw and deposit are not integers? In other words, what if a user wants to deposit a bag of rice into the bank? What kind of error will you throw? 3. How would you keep track of date and time of each transactions happening in the bank? . What are the other potential errors that could happen in this bank? This task will be evolving into a full-stack web-application in the future. So think extremely careful on your logic and implementation For this task. you will write a Python class which will be served as a bank. There will be many users (instances of Bank class), and each user needs to perform following transactions: withdraw deposit0.check_transaction_history0, and check_balance0. A user's balance should be always independent to other users's data. Each user's data should be kept in a .txt file so that every time a user visit this bank, the Bank class can read the user information from .txt file and perform necessary actions. The input format should be a Python prompt so that users can select the transaction type and enter the amount. While implementing the Bank class, please consider below things 1. If you check each user's identity using their first or last name, what would you do if another user with duplicated name come in to the Bank? How would you separate those two users' data? 2. What if the amount of withdraw and deposit are not integers? In other words, what if a user wants to deposit a bag of rice into the bank? What kind of error will you throw? 3. How would you keep track of date and time of each transactions happening in the bank? . What are the other potential errors that could happen in this bankStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started