" /> Python Program - Essay Writing Pros

Python Program

Write a Python program that allows the user to enter an hourly pay rate and hours worked. The program should output the user’s gross pay. Save the program as grosspay.py. Use the data from the desk checking done in Unit 1 Individual Assignment to test the program’s logic.

  1. Research current rates of monetary exchange. Write a Python program that allows the user to enter a number of dollars and convert it to Euros and Japanese yen. Display the dollar value and the values of the converted Euros and yen. Save the program as converter.py. Use the data from the desk checking done in Unit 1 Individual Assignment to test the program’s logic.

 

Don't use plagiarized sources. Get Your Custom Essay on
Python Program
Just from $13/Page
Order Essay
  1. Write Python for a program that prints “Hello World” if a is greater than b. Save the program as greaterthan.py.

 

  1. Write a simple Python program to convert a Fahrenheit temperature to a Celsius temperature. Prompt the user to enter a value for Fahrenheit. Display the resulting value for Celsius. Save it as fahren.py. Test with 87 as Fahrenheit, the result should be 30.5555555556 Celsius.
  2. Write a program in Python to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error message. If the score is between 0.0 and 1.0, print a grade using the table below. Run the program repeatedly and test with the various different values shown below. Save the program as gradebook.py.

 

Score Grade

>= 0.9 A

>= 0.8 B

>= 0.7 C

>= 0.6 D

< 0.6 F

Test Data:

Enter score: 0.95; Output – A

Enter score: perfect; Output – Bad score

Enter score: 10.0; Output – Bad score

Enter score: 0.75; Output – C

Enter score: 0.5; Output – F

 

 

  1. Translate the following pseudocode into a Python program. Use float as your data type. Save the program as averagegrade.py. Test the program’s logic with the following data:

firstTest = 86; secondTest = 94; average = 90.0

firstTest = 55; secondTest = 100; average = 77.5

firstTest = 52; secondTest = 50; average = 51.0

 

// This pseudocode is intended to determine whether students have

// passed or failed a course; student needs to average 60 or

// more on two tests.

start

Declarations

num firstTest

num secondTest

num average

num PASSING = 60

   // The priming read is here

output “Enter first score or 0 to quit “

   input firstTest

while firstTest not equal to 0

output “Enter second score”

input secondTest

average = (firstTest + secondTest) / 2

output “Average is “, average

if average >= PASSING then

output “Pass”

else

output “Fail”

endif

// The read for all entries after the first one is here

output “Enter first score or 0 to quit “

      input firstTest

endwhile

stop

  1. Write Python code for a game where players guess a number between 1 and 100. After each guess, the player is told that the guess is too high or too low. The process continues until the player guesses the correct number. Use your pseudocode and flowchart from the Unit 3 Individual Assignment to assist you. Save the program as guessit.py.
  2. Write a program using Python that assigns .25 to discountRate, and assigns 10.00 to shipCost if purchase is over 100.00. Otherwise, assign .15 to discountRate and assign 5.00 to shipCost. Either way, the program calculates and displays totalBill. Before coding, create an IPO chart with desk checking. Test your program with your test data. Save the program as totalbill.py.

Essay Writing Pros
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

Our writers have been trained on how to handle papers placed by our clients. The writer must read and understand before embarking on writing the papers. In case of any issue that needs clarification, writers are encouraged to ask the client or support.

Professional and Experienced Academic Writers

Our team comprises of the best writers and editors. We do thorough vetting during recruitment to make sure that our writers have the knowledge and experience we aspire in the team.

Free Unlimited Revisions

Our aim is to give the client the best outcome. If for some reason you are not satisfied with the wok done, you can ask the paper to be revised or rewritten. This will be done to your satisfaction with no extra charges.

Prompt Delivery and 100% Money-Back-Guarantee

We have writers who work round the clock. This helps in making sure that all our clients’ papers are delivered on time. If we have issues with the deadline, we will ask for extension. If its not possible, the money is fully refunded.

Original & Confidential

Our clients’ confidentiality is highly respected. We can never disclose our clients’ details to third parties. In the same regard, we strive to give our clients 100% original papers. We do not tolerate plagiarism from our writers.

24/7 Customer Support

Clients can reach us any time of the day, and any day of the week. There is a live chat, email or phone numbers to help in ease of communication.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

You should never be worried about your papers even in the middle of the night. Our team will work round the clock to deliver.

Essays

Essay Writing Service

We have an able team that can deliver your work in the shortest time possible. The academic level or the type of work should never be a hindrance. Our highly competent support team is always around (24/7) to give you any assistance you may need.

Admissions

Admission Essays & Business Writing Help

Do you need to be admitted in your dream institution but find it challenging to write an admission essay? Our team is in a position to write the best letter that will guarantee you an admission. We do as well write the best business proposals and reports.

Reviews

Editing Support

Writing can be fun and enjoyable when everything has been done right. Writing is not just enough without proper editing and proofreading. We have a team of editors that ensure everything falls in place, whether its issues to do with grammar or referencing styles.

Reviews

Revision Support

Once the paper has been done and submitted, that is not the end of it. You can always ask for amendment or improvement if you feel something has not been done right. Our team of writers and editors will gladly assist you to your satisfaction. Revision is free of charge.