Design a python script that will read in a txt file

Assignment Help Python Programming
Reference no: EM132357016

Project : Using Loops and Reading in File

1. Create pseudocode or flowchart for the following problem

a. Pseudocode must be on a separate Word .doc or .docx.

b. Flowchart must be created in visio or Lucidchart and saved to a PDF document.

2. Create and test the Python for the problem.

3. Create a folder called P3_yourInitials and put all files in the folder.

4. Upload the files with the correct name to the google drive in the projects folder.

The RSC Bookstore is having a three-day sale during which the price of any unsold t-shirt drops 15 percent each day.

For example, t-shirt that costs $15.00 on the first day costs 15 percent less, or $12.75, on the second day. On the third day, the same item is 15 percent less than $12.75, or $10.84.

Design a python script that will read in a txt file with 5 different t-shirt prices. Output is the price of each item on each day, one through three. Print the original price and the price on the 2nd and 3rd days.

Reference no: EM132357016

Questions Cloud

Distinguish in statistical-clinical significance of results : Difference in statistically significant results and clinical significance is very interesting. Distinguish in statistical and clinical significance of results
Prepare a statement of work : MBA 641 - Strategic Project Management - Statement of Work (SOW) - prepare a Statement of Work (SOW) based on the information contained in the case study
Dangerous for selling companies : When might relational partnerships become potentially dangerous for selling companies?
Outcomes of risk assessment and control : List five ways that PCBUs can provide clear explanations to work teams about identified hazards and the outcomes of risk assessment and control.
Design a python script that will read in a txt file : Design a python script that will read in a txt file with 5 different t-shirt prices. Output is the price of each item on each day, one through three.
Characteristics of a good health and safety program : What are the characteristics of a good health and safety program?
Health and safety policies and procedures : Each organisation must have health and safety policies and procedures. How can employees be informed about what these cover and how the work team can access
Why is it necessary to explain to work teams : Why is it necessary to explain to work teams, the relevant provisions of health and safety legislation, regulations and codes of practice?
Ensure skilled staff availability : Assume that the management team has approved your business plan but has expressed concerns about ensuring there is sufficient

Reviews

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