Write a program which requests that requests a product name

Assignment Help Python Programming
Reference no: EM132373948

Python Assignment -

Stages of Assignment:

Stage 1: Data Entry

Write a program which requests that requests a product name and a stock number. Store that data in a List or a Dictionary. After the user has entered data, request that the user enters Y or N to continue. If they enter N, print the list of products and stock numbers to the screen. If they enter Y, repeat the first step.

Stage 2: Validation and Totals

Building on stage 1, you now need to ensure that the program checks for valid entries in each case, and converts the text to the appropriate format.

You need to:

  • Ensure that a stock number and product name were entered, If any of these were not entered, do not record that item and go straight to asking if they wish to continue.
  • Ensure that the user enters either "Y", "y", "N" or "n" when asked if they wish to continue. Continue to ask until they enter a valid result.
  • Ensure that the stock number is a number.
  • Output the total number of products held in stock.

Stage 3: Product List and Menu

This involves three separate jobs:

  • Create a menu with multiple options
  • Add products separately and allow the user to select the product.
  • Allow multiple stock numbers to be entered for each product and record the total.

Stage 4: Importing, Exporting and Reporting

In the final stage we introduce the ability to load product lists, export stock levels, and compare stock levels with expected stock levels to generate a report. You will be provided with a sample file for stock and a sample file to compare against.

This will require additional research into Python

Now that things are getting more complex, you are expected to use functions to manage these tasks in your program.

Attachment:- Python Assignment Files.rar

Reference no: EM132373948

Questions Cloud

Primary functions of the study of learning : Are behaviorism and cognitive some of the primary functions of the study of learning?
Where do our moral tendencies come from : Where do our moral tendencies come from? What approximate percentage would you attribute to these source(s) (e.g., if, say, one source was from parents
Discuss the importance of treating substance use disorders : Discuss the importance of treating substance use disorders with a family systems approach. Why would treatment not be effective if you do not include the family
Explain the uniqueness of the individual person : Regarding uniqueness, one asks: How can one possibly explain the uniqueness of the individual person in a scientific manner
Write a program which requests that requests a product name : Write a program which requests that requests a product name and a stock number. Store that data in a List or a Dictionary
Specified potential causes of personality : What does research say about the specified potential causes of personality disorders? Please use a detailed explanation and citations
Identify and describe the organizational holdings at risk : ICT 205 CYBER SECURITY-KING’S OWN INSTITUTE-Australia-Identify and describe the potential security threats to the organization.
Topic in industrial and organizational psychology : Work-based assessment is a central topic in industrial and organizational psychology. Work-based assessments are often criticized for lack of quantitative
Use MS-Excel to plot a graph of the Demand Curve for hats : Use MS-Excel to plot a graph of the Demand Curve for hats. How much must they reduce the price of the hats in order to sell an additional hat

Reviews

Write a Review

Python Programming Questions & Answers

  Write a program that prompts the user

Write two functions that each accept a distance as an argument, one that converts from Miles-to-Kilometers and another that converts from Kilometers

  Write a function that works exactly like pythons random

Write a function random_cho ice that works exactly like Python's random. choice function: it takes a list as an argument and returns one of it's elements.

  Analyze hot topics related to information security

ISY203 Information Security - This assessment is designed to help students to research and analyze hot topics related to information security

  Compute second order differential equations for capacitor

Compute the 2nd order differential equations for capacitor voltage and inductor current in a series RLC circuit. Provide this derivation in your report.

  How to create an output label and associate

How to create an output label and associate it with a StringVar object. Name your Python program name_address_GUI.py

  Prepare a program to output a random number

Write a program to output a random number, which is divisible by 5 and 7, between 0 and 10 inclusive using random module and list comprehension.

  Give your artwork a name and print the name to the output

Using comments, type heading that includes your name, today's date, and a short description of the program. Follow the Python style conventions .

  Write a program that inputs names of personal expenses

Write a program that inputs names of personal expenses and a corresponding amount for each expense. The program should store all input data in lists.

  The computer game function collision

The computer game function collision () checks whether two circular objects collide; it returns True if they do and False otherwise. Each circular object will be given by it's radius and the (x,y) coordinates of it's center.

  What is the difference between tuples and lists in python

What is the difference between tuples and lists in Python? The response paper should be in APA format, double spaced,hand-written.

  Read an eight digit decimal integer from the keyboard

Write a complete Python program that Read an eight digit decimal integer from the keyboard with proper prompt. The prompt should remind the user that integer.

  Simulate a game of rock-paper-scissors

Write a program that utilizes functions to simulate a game of rock-paper-scissors. Write a program that allows the user to play Rock, Paper, Scissors.

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