Coder Social home page Coder Social logo

ims-project-etg-internship's Introduction

IMS-Project-ETG-Internship

The project is an inventory management system. I have divided it into four parts.

The first section of the project contains a nested dictionary of 50 products with product id as the key and other details like product name, price, expiry date, quantity, and category as the value of each key. Then the dictionary is converted to a JSON file.

The second part contains code to display only the product id, and the product name is a neat way to the user.

The third part contains the code to prompt the user for the product id against which the product name and price are displayed, then the user is asked to enter the quantity of product he wants to purchase. It goes on in a loop until the user types in done. In each iteration, a confirmation message is displayed for the user. Finally, after the user enters done, the total bill is displayed. The user is asked if he wants to print the bill. If he types yes, a well-presented bill is given with the product name, discounted price, normal price, category. I formatted it in a table format using f strings.

Fourth part: Finally, the number of products purchased by the user is modified in the copy of the main dictionary and the sales.json is created which contains the details of the products sold.

ims-project-etg-internship's People

Contributors

anuvis20 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.