Giter Club home page Giter Club logo

python-maquina-registradora's Introduction

Máquina Registradora

La meta en este proyecto es que puedas crear un aplicacion que utilice los diccionarios de python, tienes que realizar un programa que permita al gerente de una tienda ingresar n artículos con su respectivo precio a una estructura de datos.

Nota: antes de ingresar los artículos a la estructura de datos, 
el usuario debe de decir el valor de n.

Despues de que el gerente ingrese los productos el programa debe permitirle al cajero ingresar una serie de artículos por su respectivo nombre. Al finalizar el ingreso de artículos el programa debe de dar el precio total que corresponde a la suma de artículos y sacar el valor del IVA.

Al momento de calcular el total si el cliente del establecimiento tiene tarjeta de cliente frecuente Gold se le debe de rebajar un 5% si tiene tarjeta de cliente frecuente silver se le debe de rebajar un 2%. (Simulando una venta)

Conceptos Requeridos

  1. Variables
  2. Float numbers
  3. Integer numbers
  4. Input/Output
  5. Print
  6. If/Else statements
  7. Loops
  8. Try
  9. Dictionary
  10. Functions
  11. Documentation
  12. Test Code

Running tests

Entra en el directorio de tu proyecto y ejecuta nosetests en la terminal. El código debería funcionar perfectamente.

python-maquina-registradora's People

Contributors

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