Create a simple rental car billing calculator

Assignment Help Python Programming
Reference no: EM132231502

Assignment - Script One: Rental Car Billing Script

Prompt - For this script, you will be using variables and branches. A variable is used to remember a value for later use. The statement "age = 15" defines a variable named age, which Python uses to refer to a new object with the integer value 15. When a statement executes that assigns a value to an existing variable, Python updates the variable to refer to the newly assigned object. Likewise, reading a variable's value reads the value of the object referred to by the variable. So, in Python, if you set a variable to a string, the variable is now a type string object.

To write useful programs, we almost always need the ability to check conditions and change the behavior of the program accordingly. Conditional statements give us this ability. The simplest form is the if statement. A programmer commonly requires more than one if statement in branches, in which case the elif (short for "else if") keyword or else keyword can be used.

Your task for Final Project Script One is to create a simple rental car billing calculator. This script also emphasizes the importance of using and modifying variables, and how branches may impact your approach in creating a script.

You will work on this project in the Project One: Rental Car Billing Script Draft module in Codio. 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 Codio to walk through the activity.

Specifically, you must address the critical elements listed below. Most of the critical elements align with a particular course outcome (shown in brackets).

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 three uses of variables in the script using comments in your code. Be sure your examples indicate the each of the following fundamental types: [IT-140-01]

i. Assigning a numerical value and string to variables.

ii. Changing variable values.

iii. Modifying variables with data-type-appropriate operators.

B. Identify examples of the use of branches and explain using comments in your code. Be sure your comments identify the following fundamental statements: if, elif, and else statements. [11-140-02]

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 teaming 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 variables, and using branches. Support your response with examples from the activity of the types of errors and your method for fixing them. [IT-440-05]

Note -This is a codio project that requires me to complete step by step work. This explains all of the screenshots. Overall, we are looking at about 120 lines of code. All guideline notes in the code, will need to be removed and replaced with my own notes that detail each action performed along the way. In addition to the code completion, need to have a 1 paragraph reflection detailing some of the practices learned in this exercise.

Attachment:- Assignment File.rar

Reference no: EM132231502

Questions Cloud

Write complete javadoc style comments : Write complete JavaDoc style comments for all methods and for the class. Include your name at the top of the assignment as a block comment
How all five steps of the planning process could be used : The scenario presented was created to provide an interesting topic for discussion. However, it is very important that you do not get caught up in the story.
Is one method more fair than any of the others : Identify the basic payment methods used for the MCO to pay the provider (physician, hospital, etc.). Is one method more fair than any of the others? Why?
Develop an agenda for the meeting : Operations Manager at Grow Management Consultants and are required to develop an agenda and then chair a meeting on the company's upcoming leadership conference
Create a simple rental car billing calculator : Your task for is create a simple rental car billing calculator. This script also emphasizes importance of using and modifying variables
Discuss organizational factors that can drive the change : Discuss organizational factors that can drive the change within a health care organization. Also, discuss the ethical, social, legal, economic.
Review typical workflow processes within health organization : Review the typical workflow processes within health organizations, and decide the single most significant process that the health organization must eliminate.
True of creative boutique : Which of the following is true of a creative boutique? Negotiated commission rates for advertising agencies
Do you feel brittany opened a door to many people : Do you feel Brittany opened a door to many people suffering from a terminal disease? Do you feel health professionals should discuss this option.

Reviews

len2231502

2/10/2019 11:41:12 PM

Instructions: See the attached file for additional details. This is a codio project that requires me to complete step by step work. This explains all of the screenshots. Overall, I am looking at about 120 lines of code. All guideline notes in the code, will need to be removed and replaced with my own notes that detail each action performed along the way. In addition to the code completion, I will need to have a 1 paragraph reflection detailing some of the practices learned in this exercise. For more details, see page 3 of the attached documents.

len2231502

2/10/2019 11:41:06 PM

Final Project Script One Rubric - 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). Identifies three uses and fundamental types of variables in code and explains using comments. Identifies three uses and fundamental types of branches in code and explains using comments. Explains the importance of knowing how and when to use and modify variables as well as using branches, and is supported with examples from the activity about the types of errors and your method for fixing them. Submission is free of errors related to 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

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  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.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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