GithubHelp home page GithubHelp logo

price-calculator's Introduction

Price Calculator

A price calculator for multiple things

Example

I have 0.0567kg diamond. The price of diamond in kg is: $4500. Then it says: The price is: 510.3

I put in number.json:

number.json

And in price.json i put:

price.json

You can also do this with multiple things; then it just adds it up and give you the total price.

Setup

  1. Put your own things in number.json and price.json. If you don't know how, then you can see it by the example.
  2. Run main.py

Error codes

  1. The "id's" from number.json and price.json are not the same. You can fix it by syncing all the "id's/name's" by getting them from number.json to price.json.

The id: Diamond

The id diamond.

price-calculator's People

Contributors

abelkrijgtalles 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.