Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 bank

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions