Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

APUS Wk 4 Python Interactive Mode Creating a Python Program in Batch Mode Exercise

APUS Wk 4 Python Interactive Mode Creating a Python Program in Batch Mode Exercise

APUS Wk 4 Python Interactive Mode Creating a Python Program in Batch Mode Exercise

Question Description

Having some trouble with this coding, here are the instructions

Week 4 Assignment: Getting Started Coding with Python

Instructions:

You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this site.

Download Python:

This video demonstrates how to download version 3.4 or the latest version based on your operating system type.

Downloadable Video Transcript for Downloading Python.docx

You should download the Python programming language editor and compiler. To download Python (Download version 3.4 or the latest version–view the video above ).

You may use this link to practice your codes. You will not be able to save from here, but it is a great site for practicing your work.

You can copy the code from this link and paste it into .py file or into the student submission text area.


1. Create a comment block (starts at line 1 of your code) with the following information:

Your Name

Course Name, Section (example: ENTD200 B002 Spr18)

Instructor name

Week #

Date completed

2. Problem 1: Create a Python program to solve a simple pay calculation. Calculate the amount of pay, given employee name, hours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked.) Display employee name, hourly rate, hours worked, and pay. (Do not add any rules such as overtime)

Problem 2: Create a Python program to calculate the average miles per gallon obtained on a trip. Input car name, the amount of gas used and the number of miles driven. (The formula to calculate miles per gallon is miles per gallon = number of miles driven / amount of gas used. ) Display car name, gas used, miles driven and MPG. Use your own values to test the. You can hard code the values or you can use the input() function. See announcement for sample code.

Assignment Rubric:

Assessment Rubric

Accomplished

Developing

Beginning

Points Available

Points Earned

Comments

Assignment details in a comment block.

Create a comment block with the following information:

Your Name

Course Name, Section (example: ENTD200 B002 Spr18)

Instructor name

Week #

Date completed

Student effectivelycompleted the assignment.

Student partiallycompleted the assignment.

Student failed to complete the assignment.

10

10

Logic and print function used to correctly print the solution to Problem 1:

Create a Python program to solve a simple payroll calculation. Calculate the amount of pay, given hours worked, and hourly rate. (The formula to calculate payroll is pay = hourly rate * hours worked.) Display hourly rate, hours worked, and pay.

Student effectivelycompleted the assignment.

Student partiallycompleted the assignment.

Student failed to complete the assignment.

40

40

Logic and print function used to correctly print the solution to Problem 2:

Create a Python program to calculate the average miles per gallon obtained on a trip. Input the amount of gas used and the number of miles driven. (The formula to calculate miles per gallon is miles per gallon = number of miles driven / amount of gas used. ) Display gas used, miles driven and MPG.

Student effectivelycompleted the assignment.

Student partiallycompleted the assignment.

Student failed to complete the assignment.

40

40

Code organization and comments

Student effectivelycompleted the assignment.

Student partiallycompleted the assignment.

Student failed to complete the assignment.

10

10

Total

100

100


Submission Instructions:

You will code the following and submit it in one file. Use the information in the Content area for this week to assist you. Save it as a python file (.py), and upload it into the Assignments area for this week.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20