Create a simple ATM script

Assignment Help Python Programming
Reference no: EM132238903

Assignment - ATM Script

A function is a named series of statements. Invoking a function's name, known as a function call, causes the function's statements to execute. Python comes with a number of built-in functions, such as input(), int(), type(), and others. A programmer can also create a new function using the def keyword, the new function's name, and a block of statements. A block is a series of indented statements following the function definition.

To call a function, use the function's name followed by braces: function_name(). This causes execution to jump to the function's statements. The function's return causes execution to jump back to where the original call occurred, to the next statement after the call. A good practice is to follow the convention of naming functions with lowercase letters and underscores, such as print names or print_face.

Your task for this project is to create a simple ATM script. The script emphasizes the importance of using functions in the creation of more organized and reusable code.

You will be working on this project in the Project: ATM Script module in Codio on this project. Following the directions in that module, you will also be able to determine the exact placement of the comments you will need to make in the code. Follow the directions in the module in Codia to walk through the activity.

Your script should do the following three things:

1. Collect customer input.

2. Calculate the ending balance.

3. Display the results to the customer.

Specifically, your script should address the following critical elements:

I. In Your Script (Annotated Text File)

Refer to the directions in the module in Codio for how to export out and comment your completed script.

A. Identify examples of custom functions in your script using comments in your code.

B. Identify examples of input (parameters) that are utilized within the function(s) in your script using comments in your code.

C. Identify examples of functions that return the correct output in your script using comments in your code.

II. Applying Your Experience

Making mistakes when you learn to write code is common. It is part of learning. What is important is developing the skill of learning how to understand your errors and then fix them (debugging). For this part of your final project, you will respond to the following:

A. Reflecting on your experience with this activity, explain the importance of knowing how and when to use and modify custom functions, inputs (parameters) within functions, and functions to return the correct output. Support your response with examples from the activity of the types of errors and your method for fixing them.

Attachment:- Assignment Files.rar

Reference no: EM132238903

Questions Cloud

Have the federal government policies on drugs : Have the federal government's policies on "drugs" and "narcotics" been successful?
High income households-population per sport franchise : Individual ticket demand: -Population, Age, Household Income, Retail Spending, High Income households, Population per sport franchise
What have you done to protect against pets : What have you done to protect against pets, children or adults coming into contact with the poisonous substances? Describe the circumstances of poisoning.
How do managers use concurrent control in a organization : How do managers use concurrent control in a organization?
Create a simple ATM script : Create a simple ATM script. The script emphasizes the importance of using functions in the creation of more organized and reusable code
Discuss about the punishment vs rehabilitation : Discuss about the Punishment vs. Rehabilitation. What is more effective, imprisonment or rehabilitation?
Differences between the federal deficit and federal debt : What are the differences between the Federal deficit and Federal Debt? How does a government budget deficit affect the economy
Contribution to holes in the ozone by cattle : Which model is Joe's best choice if he is presenting a speech on the contribution to holes in the ozone by cattle?
What would be examples of valid selection methods : What would be examples of valid selection methods used by the human resource department to ensure selecting the appropriate candidate for a job.

Reviews

len2238903

2/21/2019 12:47:10 AM

This is a codio project. The instructions are attached along with two versions of text files of what I had already started with. I need this to be thoroughly completed per the instructions. The critical elements criteria need to be captured as well as notes for each function.

len2238903

2/21/2019 12:47:03 AM

Guidelines for Submission: Your submission should include all annotated text files of code for the script, as well a Microsoft Word document that includes the reflection part of your assignment in which you explained the problem solving approaches you employed (critical element II). Custom functions - Identifies examples of custom functions in your script using comments in your code. Input (Parameters) Function(s) - Identifies examples of input (parameters) that are utilized within the function(s) in your script using comments in your code.

len2238903

2/21/2019 12:46:57 AM

Functions That Return Correct Output - Identifies examples of functions that return the correct output in your script using comments in your code. Applying your experience - Experience Explain how using functions is important in the creation of more organized and reusable code, and submission is supported with examples from the activity about the types of errors and your method for fixing them. Articulation of Response – Submission is free of errors related use of citations, grammar, spelling, syntax, and organization and is presented in a professional and easy-to-read format.

Write a Review

Python Programming Questions & Answers

  Implement simulation with one server

After running both simulations, what are the results do you see? How does each simulation differ in its average latency - simulate function should return

  What is the speed of the shuttle 10 seconds after lift-off

During the lift-off, the net force on the shuttle is 1.9X107 newtons directed upward. What is the speed of the shuttle 10 seconds after lift-off

  Write a program that prints a list with all the items

Write a program that prints a list with all the items separated by a comma and a space, with and inserted before the last item

  Implement your algorithm in python

Write a Python program that, for every transaction, takes input on the customer ID and the total sale amount in the transaction.

  Implement functions for insertion sort

Implement functions for Insertion sort and bubble sort in python programming language and a function that calculates the function execution time.

  Simulates a simple money manager

ITECH1400 – Foundations of Programming - ability to provide a login screen to prevent other people from viewing the information contained in the tool

  Find the output of the given script in python

Find the output of the following script in Python. Note: All statements are valid. Rewrite the following for loop Python statements using while loop.

  Write a python program that will accept the base and height

Write a Python program that will accept the base and height of a triangle and compute the area. Write a Python program to compute the greatest common divisor (GCD) of two positive integers.

  The number of lowercase letters in the file

The number of uppercase letters in the file The number of lowercase letters in the file

  Why is software configuration management

Why is software configuration management considered an umbrella activity in software engineering?

  Write a python program that generates a small web site

ICT112 Assignment - Generated Web Site for Sports Club. You first task is to choose a sport or club, and get some suitable input data

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd