Hello! This is a python program I need help with. You are going to write a program called BankApp to simulate a banking application. The information needed for this project are stored in a text file. Those are: usernames, passwords, and balances. Your program should read username, passwords, and balances for each customer, and store them into three lists. userName (string), passWord(string), balances(float) The txt file with information is provided as UserInformtion.txt Example: This will demonstrate if file only contains information of 3 customers. You could add more users into the file. userName passWord Balance ======================== Mike sorat1237# 350 Jane para432@4 400 Steve asora8731% 500 When a user runs your program, it should ask for the username and password first. Check if the user matches a customer in the bank with the information provided. Remember username and password should be case sensitive. After asking for the user name, and password display a menu with the following options and ask the user for input (Use a While Loop). Type D to deposit money Type W to withdraw money Type B to display Balance Type C to change user, display user name Type A to add new client Type E to exit If the user types D (Deposit Function) Ask the user to enter the amount to deposit. Then call the Deposit Function, passing the deposit amount as a parameter. The function should update the Balance. Then display the new balance (this should happen by calling the ShowBalance function). Then display the menu again If the user types W (Withdraw Function) Ask the user to enter the amount he/she wants to withdraw. Before calling the withdraw function, make sure there is enough balance. Call the ShowBalance function before Withdraw function!! Then call the Withdraw Function, passing the withdraw amount as a parameter. The function should update the Balance. Display the new balance to the user. Then display the menu again If the user enters B (ShowBalance Function) Display the Balance. If the user enters C (ChangeUser Function) Ask for the user name and change to a different customer. If the user enters A (AddNewUser function) Ask for username, password, and balance. These information will be added to the appropriate lists which later on will be transfered to the UserInformation.txt If the user types any other option: Prompt the user that option is invalid If the user types E then Terminate the program and update the UserInformtion.txt with the correct updated balances. PS: You program must keep displaying the menu until the user types the option E, to exit the program.
Hello! This is a python program I need help with. You are going to write a program called BankApp to simulate a banking application. The information needed for this project are stored in a text file. Those are: usernames, passwords, and balances. Your program should read username, passwords, and balances for each customer, and store them into three lists. userName (string), passWord(string), balances(float) The txt file with information is provided as UserInformtion.txt Example: This will demonstrate if file only contains information of 3 customers. You could add more users into the file. userName passWord Balance ======================== Mike sorat1237# 350 Jane para432@4 400 Steve asora8731% 500 When a user runs your program, it should ask for the username and password first. Check if the user matches a customer in the bank with the information provided. Remember username and password should be case sensitive. After asking for the user name, and password display a menu with the following options and ask the user for input (Use a While Loop). Type D to deposit money Type W to withdraw money Type B to display Balance Type C to change user, display user name Type A to add new client Type E to exit If the user types D (Deposit Function) Ask the user to enter the amount to deposit. Then call the Deposit Function, passing the deposit amount as a parameter. The function should update the Balance. Then display the new balance (this should happen by calling the ShowBalance function). Then display the menu again If the user types W (Withdraw Function) Ask the user to enter the amount he/she wants to withdraw. Before calling the withdraw function, make sure there is enough balance. Call the ShowBalance function before Withdraw function!! Then call the Withdraw Function, passing the withdraw amount as a parameter. The function should update the Balance. Display the new balance to the user. Then display the menu again If the user enters B (ShowBalance Function) Display the Balance. If the user enters C (ChangeUser Function) Ask for the user name and change to a different customer. If the user enters A (AddNewUser function) Ask for username, password, and balance. These information will be added to the appropriate lists which later on will be transfered to the UserInformation.txt If the user types any other option: Prompt the user that option is invalid If the user types E then Terminate the program and update the UserInformtion.txt with the correct updated balances. PS: You program must keep displaying the menu until the user types the option E, to exit the program.
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter3: Working With Large Worksheets, Charting, And What-if Analysis
Section: Chapter Questions
Problem 3.7AYK
Related questions
Question
Hello! This is a python program I need help with.
You are going to write a program called BankApp to simulate a banking application.
The information needed for this project are stored in a text file. Those are:
usernames, passwords, and balances.
Your program should read username, passwords, and balances for each customer, and
store them into three lists.
userName (string), passWord(string), balances(float)
The txt file with information is provided as UserInformtion.txt
Example: This will demonstrate if file only contains information of 3 customers. You
could add more users into the file.
userName passWord Balance
========================
Mike sorat1237# 350
Jane para432@4 400
Steve asora8731% 500
When a user runs your program, it should ask for the username and password
first. Check if the user matches a customer in the bank with the information
provided. Remember username and password should be case sensitive.
After asking for the user name, and password display a menu with the following
options and ask the user for input (Use a While Loop).
Type D to deposit money
Type W to withdraw money
Type B to display Balance
Type C to change user, display user name
Type A to add new client
Type E to exit
If the user types D
(Deposit Function) Ask the user to enter the amount to deposit.
Then call the Deposit Function, passing the deposit amount as a parameter. The
function should update the Balance.
Then display the new balance (this should happen by calling the ShowBalance
function).
Then display the menu again
If the user types W
(Withdraw Function) Ask the user to enter the amount he/she wants to withdraw.
Before calling the withdraw function, make sure there is enough balance. Call
the ShowBalance function before Withdraw function!!
Then call the Withdraw Function, passing the withdraw amount as a parameter.
The function should update the Balance.
Display the new balance to the user.
Then display the menu again
If the user enters B
(ShowBalance Function)
Display the Balance.
If the user enters C
(ChangeUser Function) Ask for the user name and change to a different
customer.
If the user enters A (AddNewUser function) Ask for username, password,
and balance. These information will be added to the appropriate lists which
later on will be transfered to the UserInformation.txt
If the user types any other option: Prompt the user that option is invalid
If the user types E then
Terminate the program and update the UserInformtion.txt with the correct
updated balances.
PS: You program must keep displaying the menu until the user types the option
E, to exit the program.
![Mike sorat1237# 350
Jane para432@4 400
Steve asora8731% 500](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F5d269963-f382-468b-8aea-44bab3b55e03%2Fb983f25f-c1fd-4b11-b814-df376cafa084%2Fcko8tym_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Mike sorat1237# 350
Jane para432@4 400
Steve asora8731% 500
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
![Oracle 12c: SQL](https://www.bartleby.com/isbn_cover_images/9781305251038/9781305251038_smallCoverImage.gif)
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
![Oracle 12c: SQL](https://www.bartleby.com/isbn_cover_images/9781305251038/9781305251038_smallCoverImage.gif)
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage