create a Python application that makes use of repetition control structures in Python. Scenario: You are creating an application that will simulate the functions of an ATM for a bank. The user will be able to open the application, check their balance on their account, withdraw a specific amount that does not exceed their balance or deposit specific amounts into their account. The user should be able to do all these functions in succession without having to restart the application over and over. The application should first ask for a command from the user when started, the user can do 4 different commands on the application: Check Balance: The user will be able to check their current balance on their account. This should show the most updated balance if the user has made a withdrawal or deposit to the account. The account starts off with a balance of 100.00 PHP. Withdraw Money: The user can input an amount to withdraw from their account. This should not exceed the total balance that is currently on the account. After making a withdrawal, the application should show the amount withdrawn and the remaining balance. Deposit Money: The user can input an amount to deposit to their account. This can be any value above 0. After making a deposit, the application should show the amount deposited along with the new balance. Exit Application: The user can choose to end the application after making their desired transactions. While the application is running, it should allow the user to make as many balance checks, deposits or withdrawal attempts as they would like. The application will only end when the user ends it themselves. The user can then select the command that they would like to do in the application, after which the user will be given an output or will have to input an amount based on the command chosen.
create a Python application that makes use of repetition control structures in Python. Scenario: You are creating an application that will simulate the functions of an ATM for a bank. The user will be able to open the application, check their balance on their account, withdraw a specific amount that does not exceed their balance or deposit specific amounts into their account. The user should be able to do all these functions in succession without having to restart the application over and over. The application should first ask for a command from the user when started, the user can do 4 different commands on the application: Check Balance: The user will be able to check their current balance on their account. This should show the most updated balance if the user has made a withdrawal or deposit to the account. The account starts off with a balance of 100.00 PHP. Withdraw Money: The user can input an amount to withdraw from their account. This should not exceed the total balance that is currently on the account. After making a withdrawal, the application should show the amount withdrawn and the remaining balance. Deposit Money: The user can input an amount to deposit to their account. This can be any value above 0. After making a deposit, the application should show the amount deposited along with the new balance. Exit Application: The user can choose to end the application after making their desired transactions. While the application is running, it should allow the user to make as many balance checks, deposits or withdrawal attempts as they would like. The application will only end when the user ends it themselves. The user can then select the command that they would like to do in the application, after which the user will be given an output or will have to input an amount based on the command chosen.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
- create a Python application that makes use of repetition control structures in Python.
- Scenario: You are creating an application that will simulate the functions of an ATM for a bank. The user will be able to open the application, check their balance on their account, withdraw a specific amount that does not exceed their balance or deposit specific amounts into their account. The user should be able to do all these functions in succession without having to restart the application over and over.
- The application should first ask for a command from the user when started, the user can do 4 different commands on the application:
- Check Balance: The user will be able to check their current balance on their account. This should show the most updated balance if the user has made a withdrawal or deposit to the account. The account starts off with a balance of 100.00 PHP.
- Withdraw Money: The user can input an amount to withdraw from their account. This should not exceed the total balance that is currently on the account. After making a withdrawal, the application should show the amount withdrawn and the remaining balance.
- Deposit Money: The user can input an amount to deposit to their account. This can be any value above 0. After making a deposit, the application should show the amount deposited along with the new balance.
- Exit Application: The user can choose to end the application after making their desired transactions. While the application is running, it should allow the user to make as many balance checks, deposits or withdrawal attempts as they would like. The application will only end when the user ends it themselves.
- The user can then select the command that they would like to do in the application, after which the user will be given an output or will have to input an amount based on the command chosen.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY